{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/22985","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/22985/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/22985/comments","events_url":"https://api.github.com/repos/golang/go/issues/22985/events","html_url":"https://github.com/golang/go/issues/22985","id":279064744,"number":22985,"title":"x/net/publicsuffix: ICANN flag returned not aligned with public suffix location in the list","user":{"login":"eminano","id":33323594,"avatar_url":"https://avatars0.githubusercontent.com/u/33323594?v=4","gravatar_id":"","url":"https://api.github.com/users/eminano","html_url":"https://github.com/eminano","followers_url":"https://api.github.com/users/eminano/followers","following_url":"https://api.github.com/users/eminano/following{/other_user}","gists_url":"https://api.github.com/users/eminano/gists{/gist_id}","starred_url":"https://api.github.com/users/eminano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eminano/subscriptions","organizations_url":"https://api.github.com/users/eminano/orgs","repos_url":"https://api.github.com/users/eminano/repos","events_url":"https://api.github.com/users/eminano/events{/privacy}","received_events_url":"https://api.github.com/users/eminano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/22","html_url":"https://github.com/golang/go/milestone/22","labels_url":"https://api.github.com/repos/golang/go/milestones/22/labels","id":1067491,"number":22,"title":"Unreleased","description":"Issues that do not affect released Go code and binaries.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":854,"closed_issues":1415,"state":"open","created_at":"2015-04-14T18:48:22Z","updated_at":"2018-05-19T12:26:05Z","due_on":"2099-12-31T08:00:00Z","closed_at":null},"comments":6,"created_at":"2017-12-04T16:44:34Z","updated_at":"2018-05-21T12:14:00Z","closed_at":null,"author_association":"NONE","body":"Please answer these questions before submitting your issue. Thanks!\r\n\r\n\r\n### What version of Go are you using (`go version`)?\r\ngo version go1.9.2\r\n\r\n### Does this issue reproduce with the latest release?\r\nYes\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\ngoos: darwin\r\ngoarch: amd64\r\n\r\n### What did you do?\r\nCall PublicSuffix with input domain \"transurl.be\"\r\nhttps://play.golang.org/p/SLdVLEzpk4\r\n\r\n### What did you expect to see?\r\nICANN flag set to true\r\n\r\nList contains \"be\" within the ICANN delimiters:\r\n// be : https://en.wikipedia.org/wiki/.be\r\n// Confirmed by registry <tech@dns.be> 2008-06-08\r\nbe\r\nac.be\r\n\r\nand \"*.transurl.be\" outside.\r\n\r\n// TransIP : htts://www.transip.nl\r\n// Submitted by Rory Breuk <rbreuk@transip.nl>\r\n*.transurl.be\r\n*.transurl.eu\r\n*.transurl.nl\r\n\r\n### What did you see instead?\r\nICANN flag set to false\r\n\r\nI am not sure if this behaviour is expected. Should transurl.be match *.transurl.be, given it doesn't have a 3rd level domain?\r\nAlso, since the public suffix domain returned is \"be\" , I would expect for that rule to be the one being matched, and therefore having ICANN set to true.\r\n\r\nThere are more occurrences of this scenario, such as \"0emm.com\".\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/390637036","html_url":"https://github.com/golang/go/issues/22985#issuecomment-390637036","issue_url":"https://api.github.com/repos/golang/go/issues/22985","id":390637036,"user":{"login":"weppos","id":5387,"avatar_url":"https://avatars1.githubusercontent.com/u/5387?v=4","gravatar_id":"","url":"https://api.github.com/users/weppos","html_url":"https://github.com/weppos","followers_url":"https://api.github.com/users/weppos/followers","following_url":"https://api.github.com/users/weppos/following{/other_user}","gists_url":"https://api.github.com/users/weppos/gists{/gist_id}","starred_url":"https://api.github.com/users/weppos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weppos/subscriptions","organizations_url":"https://api.github.com/users/weppos/orgs","repos_url":"https://api.github.com/users/weppos/repos","events_url":"https://api.github.com/users/weppos/events{/privacy}","received_events_url":"https://api.github.com/users/weppos/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T12:14:00Z","updated_at":"2018-05-21T12:14:00Z","author_association":"NONE","body":"It looks like this is an old issue. I've resurrected the discussion.\r\nhttps://groups.google.com/d/msg/publicsuffix-discuss/rY6yRK802Kg/ripeB6goCAAJ"}}
{"actor":{"display_login":"weppos"}}