Re: [whatwg/url] Double-encoded IDNA labels don't roundtrip (#603)

Setting `CheckHyphens` to true sounds like a good solution if we're saying "hosts are DNS" (#397 ). RFC 5890 sets aside the Reserved LDH labels, which not only includes `xn--`, but all DNS labels with `--` in the third/fourth characters.

Note that this would also seem to impact #438 depending on where things land.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/603#issuecomment-842635328

Received on Monday, 17 May 2021 21:00:43 UTC