Re: Standardizing on IDNA 2003 in the URL Standard

On 22/08/13 13:36, Anne van Kesteren wrote:
> As far as UseSTD3ASCIIRules is concerned, I haven't checked if TR46 is
> safe when it comes to
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=23009 if you turn that
> flag off.

AIUI, assuming we write our replacement for the STD3ASCIIRules to
disallow "/" in hostnames, we should be fine. When UseSTD3ASCIIRules is
false, "℁" (U+2101) will map to "a/s", and then the "/" will be disallowed.

TR46 section 4.1:

"If UseSTD3ASCIIRules=false, then the validity tests for ASCII
characters are not provided by the table status values, but are
implementation-dependent. For example, if an implementation allows the
characters [\u002Da-zA-Z0-9] and also the underbar (_), then it needs to
use the table values for UseSTD3ASCIIRules=false, and test for any other
ASCII characters as part of its validity criteria. *These ASCII
characters may have resulted from a mapping*: for example, a U+005F ( _
) LOW LINE (underbar) may have originally been a U+FF3F ( _ ) FULLWIDTH
LOW LINE."

(Emphasis mine.)

Gerv

Received on Thursday, 22 August 2013 13:06:12 UTC