Skip to content

Commit

Permalink
app: remove HK and RC from share-blocked country code list
Browse files Browse the repository at this point in the history
These codes were initially included because of a miscommunication.
They should not be in the list at all.

Fixes golang/go#12747

Change-Id: I864cff022a8996d672d9d88e0a9a1d76ba9bc54a
Reviewed-on: https://go-review.googlesource.com/15083
Reviewed-by: Minux Ma <minux@golang.org>
  • Loading branch information
adg committed Sep 28, 2015
1 parent b5679d8 commit 7d7eb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/goplay/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func allowShare(r *http.Request) bool {
return true
}
switch r.Header.Get("X-AppEngine-Country") {
case "", "ZZ", "HK", "CN", "RC":
case "", "ZZ", "CN":
return false
}
return true
Expand Down

0 comments on commit 7d7eb09

Please sign in to comment.