x/net/publicsuffix: publicsuffix.EffectiveTLDPlusOne fails on "*.amazonaws.com" #23671
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.9.3 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?darwin/amd64 osX 10.13.3
What did you do?
https://play.golang.org/p/OoMumbHr1Ou
publicsuffix: cannot derive eTLD+1 for domain "ec2-34-205-106-31.compute-1.amazonaws.com"
What did you expect to see?
exit code 0, not panic
What did you see instead?
Checking amazonaws.com - s3-website-us-east-1.amazonaws.com...
panic: publicsuffix: cannot derive eTLD+1 for domain "s3-website-us-east-1.amazonaws.com"
goroutine 1 [running]:
main.main()
/tmp/sandbox037353932/main.go:17 +0x3c0
The text was updated successfully, but these errors were encountered: