diff --git a/url.bs b/url.bs index b7471a4..25622de 100644 --- a/url.bs +++ b/url.bs @@ -917,20 +917,29 @@ concepts.
  • If result is a failure value, domain-to-ASCII validation error, return failure. -

  • If result is the empty string, domain-to-ASCII validation error, - return failure. -

  • -

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

    If beStrict is false: + +

      +
    1. If result is the empty string, domain-to-ASCII 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. +

    2. +

      If 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. +

    + +
  • +

    Assert: result is not the empty string and does not contain a + forbidden domain code point. -

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

    Unicode IDNA Compatibility Processing guarantees this holds when + beStrict is true. [[UTS46]]

  • Return result.