-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
stdlib/Sockets: getaddrinfo("☃.net")
non-ASCII hostname (RFC 3492)
#26551
Comments
Seems vaguely like something that should be handled at the application-level (URIParser.jl? HTTP.jl? higher?), and not in the stdlib. |
I'm not familiar with this in practice, just noticed this as a loose end in the URIParser.jl issues.
Doing this in stdlib/Sockets might be a simple way to help all Julia systems to be IDNA compatible. |
upstream so, just remove this line and julia/stdlib/Sockets/src/addrinfo.jl Line 60 in 4f8a7b9
|
This issue can be closed now. |
julia/stdlib/Sockets/src/addrinfo.jl
Lines 51 to 52 in 569981a
Should this changed be to
isascii(host) || host =
Punycoder.encode(host)
?References:
https://www.ietf.org/rfc/rfc3492.txt
JuliaWeb/URIParser.jl#9
http://☃.net
The text was updated successfully, but these errors were encountered: