diff --git a/url.bs b/url.bs index 24b45782..9cca3796 100644 --- a/url.bs +++ b/url.bs @@ -613,7 +613,7 @@ concepts.

IDNA

The domain to ASCII algorithm, given a string -domain and an optional boolean beStrict (default false), runs these steps: +domain and a boolean beStrict, runs these steps:

  1. @@ -636,13 +636,14 @@ concepts.

The domain to Unicode algorithm, given a domain -domain, runs these steps: +domain and a boolean beStrict, runs these steps:

  1. Let result be the result of running Unicode ToUnicode with domain_name set to domain, CheckHyphens set to false, CheckBidi set to true, CheckJoiners set to true, - UseSTD3ASCIIRules set to false, and Transitional_Processing set to false. + UseSTD3ASCIIRules set to beStrict, and Transitional_Processing set to + false.

  2. Signify validation errors for any returned errors, and then, return result. @@ -663,10 +664,8 @@ concepts.

  3. If result is failure, then return failure. -

  4. Set result to the result of running - Unicode ToUnicode with domain_name set to result, - CheckHyphens set to false, CheckBidi set to true, CheckJoiners set to true, - UseSTD3ASCIIRules set to true, and Transitional_Processing set to false. +

  5. Set result to the result of running domain to Unicode with + result and true.

  6. If result contains any errors, return failure. @@ -732,8 +731,8 @@ runs these steps:

    Alternatively UTF-8 decode without BOM or fail can be used, coupled with an early return for failure, as domain to ASCII fails on U+FFFD (�). -

  7. Let asciiDomain be the result of running - domain to ASCII on domain. +

  8. Let asciiDomain be the result of running domain to ASCII with + domain and false.

  9. If asciiDomain is failure, validation error, return failure. @@ -2822,7 +2821,8 @@ handled with care to prevent spoofing: