x/net/idna: Registration.ToASCII() accepts empty TLD label #47182
What did you do?
What did you expect to see?
(error) idna: invalid label ""
What did you see instead?
This appears to happen only if the input is pure ASCII. If there's Unicode (eg,
The text was updated successfully, but these errors were encountered: