Re: [whatwg/url] Meta: UTS46 feedback (Issue #744)

Looking at “the ContextJ rules”, https://www.rfc-editor.org/rfc/rfc5892.html#appendix-A processes a label with a pseudo-code loop of `For All Characters`. On an empty label, this is an empty loop.

For CheckBidi, I see that [IDNA2008 appears to trigger the rule](https://www.rfc-editor.org/rfc/rfc5891.html#section-4.2.3.4) only if the *label* contains RTL characters while UTS46 triggers it if the *domain name* contains RTL. (Although https://www.rfc-editor.org/rfc/rfc5893.html#section-2 says that it “applies to labels in Bidi domain names”.)
And https://www.rfc-editor.org/rfc/rfc5893.html#section-2 just has “1. The first character must be ...”

It seems like we could clarify this in UTS46 with this insertion:
> If CheckBidi, and if the domain name is a  Bidi domain name, <ins>and if the label is not empty,</ins> then the label must satisfy ...

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

Message ID: <whatwg/url/issues/744/1629813557@github.com>

Received on Monday, 10 July 2023 22:25:48 UTC