https://go.dev/play/p/HdLLJz0uz2q
idna.Registration.ToASCII("100.100.100.100") doesn't return an error. Surely an IPv4 address can never be registered as a domain name and so this should return an error? I just need confirmation: is this function working as expected or is this a bug? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/792a7e4a-3335-40c2-8fe9-fca394d2f988n%40googlegroups.com.