net: TestDialGoogle uses IPv4 address with leading zeros #73378
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.23.8 darwin/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
It should not have tried to dial an IPv4 address with leading zeroes in a component, as that has been unsupported since Go 1.17.
go/src/net/external_test.go
Line 93 in adf21a9
If this test is only supposed to be compatible with the cgo resolver, then it ought to have a guard clause for that.
The text was updated successfully, but these errors were encountered: