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

Domains (in GTLD) are generally restricted from dashes in the 3rd and 4th
positions /^[A-z0-9][A-z0-9]--/ if this helps.  IDNA takes advantage of
this and was the catalyst.

On Mon, May 17, 2021, 4:01 PM Timothy Gu ***@***.***> wrote:

> @rmisev <https://github.com/rmisev> Indeed! As evident in UTS 46, the
> *CheckHyphens* boolean was first introduced to allow YouTube labels of
> form "r3---sn-apo3qvuoxuxbt-j5pe". (Previously it was always "true".) But I
> suppose the Unicode folks didn't consider the possibility of xn--, which
> now needs to be forbidden explicitly.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/whatwg/url/issues/603#issuecomment-842696450>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACQTJMX6K4GSTMXPSU262DTOGN4XANCNFSM45BA2GJQ>
> .
>


-- 
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-842875323

Received on Tuesday, 18 May 2021 06:12:13 UTC