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

OP had mail.163.com.xn----9mcjf9b4dbm09f.com - here, the RTL label is followed by an ASCII label that does not start with a digit. I don't see how that would fail the rule I suggested.

To @annevk : All-numeric labels start with a number. No need to consider anything more about them; if they follow an RTL label, they make the domain name fail the rule.

As for all-numeric labels: they start with a label. No need to consider the rest of the letters; it fails.

(Note: 1.ي.3.tld (the 3 is actually the subdomain of .tld) is an example of an all-numeric label. It will be rare for users to actually comprehend that.)




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

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

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

Received on Tuesday, 7 February 2023 07:57:18 UTC