-
Notifications
You must be signed in to change notification settings - Fork 18.6k
Closed as not planned
Closed as not planned
Copy link
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Description
Go version
go version go1.24.2 darwin/arm64
Output of go env in your module/workspace:
AR='ar'
CC='cc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='c++'
GCCGO='gccgo'
GO111MODULE='on'
GOARCH='arm64'
GOARM64='v8.0'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/Users/nadavrabinovich/Library/Caches/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/Users/nadavrabinovich/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/4y/k3g5jjxx05n9kh5pt_3pkf600000gn/T/go-build1151659047=/tmp/go-build -gno-record-gcc-switches -fno-common'
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMOD='/Users/nadavrabinovich/git/steps/steps/utils/infrastructure/pkg/go.mod'
GOMODCACHE='/Users/nadavrabinovich/.go/pkg/mod'
GONOPROXY='github.com/torqio,stackpulse.dev,torqio.dev'
GONOSUMDB='github.com/torqio,stackpulse.dev,torqio.dev'
GOOS='darwin'
GOPATH='/Users/nadavrabinovich/.go'
GOPRIVATE='github.com/torqio,stackpulse.dev,torqio.dev'
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/opt/go/libexec'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/Users/nadavrabinovich/Library/Application Support/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/opt/go/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.24.2'
GOWORK=''
PKG_CONFIG='pkg-config'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"
Metadata
Metadata
Assignees
Labels
BugReportIssues describing a possible bug in the Go implementation.Issues describing a possible bug in the Go implementation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.