diff --git a/url.bs b/url.bs index 2f475eb..dfca47a 100644 --- a/url.bs +++ b/url.bs @@ -116,16 +116,6 @@ valid input. User agents, especially conformance checkers, are encouraged to rep

If details about Unicode ToASCII errors are recorded, user agents are encouraged to pass those along. Yes - - domain-to-Unicode - -

Unicode ToUnicode records an error. [[UTS46]] -

The same considerations as with domain-to-ASCII apply. - · - - - Host parsing - domain-invalid-code-point @@ -137,6 +127,15 @@ valid input. User agents, especially conformance checkers, are encouraged to rep

"https://exa%23mple.org" Yes + + domain-to-Unicode + +

Unicode ToUnicode records an error. [[UTS46]] +

The same considerations as with domain-to-ASCII apply. + · + + + Host parsing host-invalid-code-point @@ -899,7 +898,7 @@ concepts.

IDNA

-

The domain to ASCII algorithm, given a string +

The domain to ASCII algorithm, given a string domain and a boolean beStrict, runs these steps:

    @@ -921,6 +920,18 @@ concepts.
  1. If result is the empty string, domain-to-ASCII validation error, return failure. +

  2. +

    If beStrict is false and result contains a + forbidden domain code point, domain-invalid-code-point validation error, + return failure. + +

    Due to web compatibility and compatibility with non-DNS-based systems the + forbidden domain code points are a subset of those disallowed when UseSTD3ASCIIRules + is true. See also issue #397. + +

  3. Assert: result does not contain a + forbidden domain code point. +

  4. Return result.

@@ -1034,9 +1045,6 @@ false), and then runs these steps. They return failure or a host.
  • If asciiDomain is failure, then return failure. -

  • If asciiDomain contains a forbidden domain code point, - domain-invalid-code-point validation error, return failure. -

  • If asciiDomain ends in a number, then return the result of IPv4 parsing asciiDomain.