Skip to content

Commit

Permalink
Continue to use Nontransitional processing for IDNA
Browse files Browse the repository at this point in the history
This makes it so that the domain to ASCII, domain to Unicode, and valid domain explicitly state the value for the *Transitional_Processing* flag as now required by UTS 46.

It also renames *processing_option* to *Transitional_Processing* to match UTS 46 changes. Fixes #400.
  • Loading branch information
TRowbotham authored and annevk committed Jul 23, 2018
1 parent 6ef17eb commit 6800342
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ consideration in practice.
<li><p>Let <var>result</var> be the result of running <a abstract-op lt=ToASCII>Unicode ToASCII</a>
with <i>domain_name</i> set to <var>domain</var>, <i>UseSTD3ASCIIRules</i> set to
<var>beStrict</var>, <i>CheckHyphens</i> set to false, <i>CheckBidi</i> set to true,
<i>CheckJoiners</i> set to true, <i>processing_option</i> set to <i>Nontransitional_Processing</i>,
<i>CheckJoiners</i> set to true, <i>Transitional_Processing</i> set to false,
and <i>VerifyDnsLength</i> set to <var>beStrict</var>.

<li><p>If <var>result</var> is a failure value, <a>validation error</a>, return failure.
Expand All @@ -417,7 +417,7 @@ consideration in practice.
<li><p>Let <var>result</var> be the result of running
<a abstract-op lt=ToUnicode>Unicode ToUnicode</a> with <i>domain_name</i> set to <var>domain</var>,
<i>CheckHyphens</i> set to false, <i>CheckBidi</i> set to true, <i>CheckJoiners</i> set to true,
and <i>UseSTD3ASCIIRules</i> set to false.
<i>UseSTD3ASCIIRules</i> set to false, and <i>Transitional_Processing</i> set to false.

<li><p>Signify <a>validation errors</a> for any returned errors, and then, return
<var>result</var>.
Expand All @@ -441,7 +441,7 @@ consideration in practice.
<li><p>Set <var>result</var> to the result of running
<a abstract-op lt=ToUnicode>Unicode ToUnicode</a> with <i>domain_name</i> set to <var>result</var>,
<i>CheckHyphens</i> set to false, <i>CheckBidi</i> set to true, <i>CheckJoiners</i> set to true,
and <i>UseSTD3ASCIIRules</i> set to true.
<i>UseSTD3ASCIIRules</i> set to true, and <i>Transitional_Processing</i> set to false.

<li><p>If <var>result</var> contains any errors, return failure.

Expand Down

0 comments on commit 6800342

Please sign in to comment.