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

The example of 1.ي is not covered by my suggested rule:

> Domains containing RTL labels followed by an LTR label consisting only of ASCII characters, where the first character is not a digit.

since the RTL domain is a top level domain in this case.
It is covered if reformulated as

> Domains containing RTL labels where each RTL label is either the top level domain or directly followed by an LTR label consisting only of ASCII characters, where the first character is not a digit.

(the word "directly" makes it more obvious that 1.ي.foo.3.tld is allowed too)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/543#issuecomment-1404852627

You are receiving this because you are subscribed to this thread.

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

Received on Thursday, 26 January 2023 11:06:50 UTC