Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jonas-w
ยท 3y ago ยท 0 comments
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?
Comments
[โ]
yreg
3y ago
It'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
[โ]
mkl
3y ago
I already mentioned that, and it's not what they mean. Hover your mouse over a
https://xn--971h.com
link in a comment on HN and notice that it's pointing to
https://x.com
. This does seem to be an HN thing; see here:
https://jsfiddle.net/rtfhejdy/
[โ]
mkl
3y ago
I 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.