4 msΒ·
Are you sure? When I type https://xn--971h.com https://xn--971h.com in it doesn't work, but clicking the link in your comment does because HN has made the href
by mkl 3y ago
Are you sure? When I type https://xn--971h.com https://xn--971h.com in it doesn't work, but clicking the link in your comment does because HN has made the href x.com. The browser converts π.com to x.com before going there too. Moreover, X and π are treated as equivalent characters in this context, so whois π.com looks up x.com, and π.com's punycode encoding is x.com: https://www.whatsmydns.net/idn-punycode-converter?q=%F0%9D%95%8F.com https://www.whatsmydns.net/idn-punycode-converter?q=%F0%9D%9...
whois xn--971h.com returns the same thing as an unregistered domain.
- jonas-w 3y agoHN automatically converts these urls to punycode, maybe this is a bug and it automatically converts everything to punycode even though it doesn't make sense?
- mkl 3y agoI think so. Then I'm not right about the punycode encoding of π.com - it's that it isn't even needed. I've emailed dang about it.
- yreg 3y agoIt's unrelated to HN. Copy pasting π.com into the address bar still leads to x.com related: https://en.wikipedia.org/wiki/IDN_homograph_attack https://en.wikipedia.org/wiki/IDN_homograph_attack
- mkl 3y agoI already mentioned that, and it's not what they mean. Hover your mouse over a https://xn--971h.com https://xn--971h.com link in a comment on HN and notice that it's pointing to https://x.com https://x.com. This does seem to be an HN thing; see here: https://jsfiddle.net/rtfhejdy/ https://jsfiddle.net/rtfhejdy/
- dom96 3y agoLooks like it's also not possible to register xn--971h.com (I tried both Namecheap and Cloudflare).
- mikea1 3y agoYeah, it's explicitly disallowed by ICANN to register a domain with this unicode character (along with numerous other characters): https://www.verisign.com/assets/icannrestricted/idn-icann-restricted.html https://www.verisign.com/assets/icannrestricted/idn-icann-re...