Skip to content

Commit a6e4492

Browse files
committed
Set IDNA's IgnoreInvalidPunycode to false
Also move UseSTD3ASCIIRules around in Unicode ToASCII to align with the UTS46 order. While this is not a change in behavior, this is not marked as editorial as UTS46 integration is somewhat significant and worth highlighting. Fixes #821.
1 parent cd8f1d6 commit a6e4492

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

url.bs

+6-6
Original file line numberDiff line numberDiff line change
@@ -905,10 +905,10 @@ concepts.
905905
<ol>
906906
<li>
907907
<p>Let <var>result</var> be the result of running <a abstract-op lt=ToASCII>Unicode ToASCII</a>
908-
with <i>domain_name</i> set to <var>domain</var>, <i>UseSTD3ASCIIRules</i> set to
909-
<var>beStrict</var>, <i>CheckHyphens</i> set to <var>beStrict</var>, <i>CheckBidi</i> set to true,
910-
<i>CheckJoiners</i> set to true, <i>Transitional_Processing</i> set to false,
911-
and <i>VerifyDnsLength</i> set to <var>beStrict</var>. [[!UTS46]]
908+
with <i>domain_name</i> set to <var>domain</var>, <i>CheckHyphens</i> set to <var>beStrict</var>,
909+
<i>CheckBidi</i> set to true, <i>CheckJoiners</i> set to true, <i>UseSTD3ASCIIRules</i> set to
910+
<var>beStrict</var>, <i>Transitional_Processing</i> set to false, <i>VerifyDnsLength</i> set to
911+
<var>beStrict</var>, and <i>IgnoreInvalidPunycode</i> set to false. [[!UTS46]]
912912

913913
<p class=note>If <var>beStrict</var> is false, <var>domain</var> is an <a>ASCII string</a>, and
914914
<a>strictly splitting</a> <var>domain</var> on U+002E (.) does not produce any
@@ -937,8 +937,8 @@ concepts.
937937
<li><p>Let <var>result</var> be the result of running
938938
<a abstract-op lt=ToUnicode>Unicode ToUnicode</a> with <i>domain_name</i> set to <var>domain</var>,
939939
<i>CheckHyphens</i> set to <var>beStrict</var>, <i>CheckBidi</i> set to true, <i>CheckJoiners</i>
940-
set to true, <i>UseSTD3ASCIIRules</i> set to <var>beStrict</var>, and
941-
<i>Transitional_Processing</i> set to false. [[!UTS46]]
940+
set to true, <i>UseSTD3ASCIIRules</i> set to <var>beStrict</var>, <i>Transitional_Processing</i>
941+
set to false, and <i>IgnoreInvalidPunycode</i> set to false. [[!UTS46]]
942942

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

0 commit comments

Comments
 (0)