- From: Harald Alvestrand <notifications@github.com>
- Date: Tue, 10 Jan 2023 07:02:58 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 January 2023 15:03:11 UTC
This logic took quite a while to work out, including actually coding up the BIDI rule and running it through all the possible combinations of directions to make sure I had them all covered..... The "bidi rule" in RFC 5893 section 2 applies to a single label. So a label (not a domain name) can either obey the rule or not. The guarantees in the last two paragraphs are about the properties of a whole domain name. They are not part of the rule. The practical consequence is that if you want sanity in your display, you can never have <RTL-label>.3com.com - because that would *probably* display as 3<RTL-label>.com.com, which is confusing. So 1.ي should not be rejected, but 1.ي.3com should be. (inspect the order of the characters in that one!) -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/543#issuecomment-1377408962 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/543/1377408962@github.com>
Received on Tuesday, 10 January 2023 15:03:11 UTC