Skip to content

Commit

Permalink
Set IDNA's CheckHyphens to the value of beStrict
Browse files Browse the repository at this point in the history
It makes more sense if it's consistent with UseSTD3ASCIIRules and VerifyDnsLength.

Fixes #820.
  • Loading branch information
annevk committed Nov 29, 2024
1 parent da212c9 commit cd8f1d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ concepts.
<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,
<var>beStrict</var>, <i>CheckHyphens</i> set to <var>beStrict</var>, <i>CheckBidi</i> set to true,
<i>CheckJoiners</i> set to true, <i>Transitional_Processing</i> set to false,
and <i>VerifyDnsLength</i> set to <var>beStrict</var>. [[!UTS46]]

Expand Down Expand Up @@ -936,9 +936,9 @@ concepts.
<ol>
<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,
<i>UseSTD3ASCIIRules</i> set to <var>beStrict</var>, and <i>Transitional_Processing</i> set to
false. [[!UTS46]]
<i>CheckHyphens</i> set to <var>beStrict</var>, <i>CheckBidi</i> set to true, <i>CheckJoiners</i>
set to true, <i>UseSTD3ASCIIRules</i> set to <var>beStrict</var>, and
<i>Transitional_Processing</i> set to false. [[!UTS46]]

<li><p>Signify <a>domain-to-Unicode</a> <a>validation errors</a> for any returned errors, and then,
return <var>result</var>.
Expand Down

0 comments on commit cd8f1d6

Please sign in to comment.