You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DNS resolution fails for internationalized domain names #25558
@santigimeno and I opened PRs but now that I think about it, this issue should be fixed once v10.x upgrades to libuv v1.24.0 because that's the first libuv release that includes libuv/libuv#2046.
Landing the PRs would still be useful for:
v6.x (and v8.x?), because libuv isn't upgraded on that branch, and
[..] Node.js left it up to the system resolver or c-ares.
Leaving it to the system resolver introduces platform differences
because:
some support IDNA 2008
some only IDNA 2003 (glibc until 2.28), and
some don't support IDNA at all (musl libc)
In other words, Node's behavior is currently platform-dependent (bad.)
Activity
targos commentedon Jan 18, 2019
All supported versions of Node are affected. I'm looking into it.
santigimeno commentedon Jan 18, 2019
Possible fix in #25559
silverwind commentedon Jan 18, 2019
I'm quite surprised that this affects so many version. I'm pretty sure IDN did work at least at some point in time.
bnoordhuis commentedon Jan 24, 2019
@santigimeno and I opened PRs but now that I think about it, this issue should be fixed once v10.x upgrades to libuv v1.24.0 because that's the first libuv release that includes libuv/libuv#2046.
Landing the PRs would still be useful for:
bnoordhuis commentedon Jan 24, 2019
@silverwind If you'll allow me to self-quote from #25679 (comment):
In other words, Node's behavior is currently platform-dependent (bad.)
dns: use IDNA 2008 to encode non-ascii hostnames
dns: use IDNA 2008 to encode non-ascii hostnames
dns: idna encode hostnames before resolution
dns: use IDNA 2008 to encode non-ascii hostnames