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

> * `1.xn--mhb` errors (though does not error in Gecko, presumably it has CheckBidi set to false; 

The presumption is not correct. Previously (at the time of the quoted comment), CheckBidi was `true` in Gecko, but Gecko invoked UTS 46 processing on a per-label basis, so the bidiness status of the domain as a whole did not end up affecting LTR labels.

Gecko currently (well after the quoted comment) implements CheckBidi (still `true`) as described in the Unicode 15.1 version of UTS 46, so if there is RTL anywhere in the domain as a whole, the domain is rejected if there is an LTR label that starts with an ASCII digit. (This also has the effect that domains like `1password.com` and `9to5mac.com` fall off the fastest path, because at the time a fast-path decision about the first label needs to be made, it's not yet known if there is going to be RTL in subsequent labels.)

(This comment is not meant as disagreement with the feedback relayed to the UTC.)

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

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

Received on Wednesday, 11 September 2024 06:25:00 UTC