net: DefaultResolver.LookupIP returns no error and nil IP address for empty string #53995
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://go.dev/play/p/o1nR6WBsGQT
What did you expect to see?
An error when looking up the empty hostname.
What did you see instead?
No error and a nil IP address.
The text was updated successfully, but these errors were encountered: