Re: [whatwg/url] Refusing a mix of numeric-only and BIDI domains (#543)

No, LDH should be LDH, because there are LTR labels that don't obey the Bidi rule, and we need to not permit those. (See bullets 5 and 6 of the Bidi rule).

I don't have proposed surrounding text for this rule, but it should probably say "this rule is evaluated after all A-labels have been converted to U-labels for testing" - meaning that xn-- labels should be decoded before evaluating; if we don't do that, explicit xn-- labels offer a way to sneak in bidi domains into unsuspecting places.






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

Message ID: <whatwg/url/issues/543/1420510173@github.com>

Received on Tuesday, 7 February 2023 10:06:58 UTC