x/net/publicsuffix: Error is returned when getting eTLD+1 for s3.amazonaws.com #73385
Labels
BugReport
Issues describing a possible bug in the Go implementation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Go version
go version go1.24.2 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
I tried using
publicsuffic.EffectiveTLDPlusOne
method to get the base domain with the input "s3.amazonaws.com" and received an error:publicsuffix: cannot derive eTLD+1 for domain "s3.amazonaws.com"
What did you see happen?
list.go line 173 extracts the suffix, but it returns the full domain, which causes the method to fail in the next line.
What did you expect to see?
I would expect the output to be "amazonaws.com"
The text was updated successfully, but these errors were encountered: