New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected empty string returned from ToPunycode
#490
Comments
|
The domain |
|
Thanks @rafaeljusto This seems to be a code point that is allowed in some implementations, but not others. The RFC does seem to clearly indicate that it is not allowed. |
|
[ Quoting <notifications@github.com> in "Re: [miekg/dns] Unexpected empty st..." ]
Thanks @rafaeljusto
This seems to be a code point that is allowed in some implementations, but not others. The RFC does seem to clearly indicate that it is not allowed.
File an errata! Which would help and might lead to a follow up RFC
|
|
@RBeaudoin are you satisfied with @rafaeljusto's explanation or would you like to start a conversation about (potentially) adding additional API? |
|
@andrewtj yes, thank you. At Heroku we had to switch to another library because Let's Encrypt supports issuing certs for emoji domains, and we do pre-validation. I completely understand it's not in the spec though, and appreciate the explanation. |
|
#584 (removes our implementation of idn) |
When I execute the following:
It prints the empty string. I would expect the
ToPunycodemethod to returnxn--qei.rust-lang.orgThe text was updated successfully, but these errors were encountered: