3 ms·
HN 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?
by jonas-w 3y ago
HN 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/