@@ -2613,16 +2613,16 @@ and then runs these steps:
2613
2613
<p> Otherwise, if one of the following is true:
2614
2614
2615
2615
<ul class=brief>
2616
- <li><p> <a>c</a> is the <a>EOF code point</a> , U+002F (/), U+003F (?), or U+0023 (#)
2617
- <li><p><var> url</var> <a>is special</a> and <a>c</a> is U+005C (\)
2618
- <li><p><var> state override</var> is given
2616
+ <li><p> <a>c</a> is the <a>EOF code point</a> , U+002F (/), U+003F (?), or U+0023 (#);
2617
+ <li><p><var> url</var> <a>is special</a> and <a>c</a> is U+005C (\); or
2618
+ <li><p><var> state override</var> is given,
2619
2619
</ul>
2620
2620
2621
2621
<p> then:
2622
2622
2623
2623
<ol>
2624
2624
<li>
2625
- <p> If <var> buffer</var> is not the empty string, then :
2625
+ <p> If <var> buffer</var> is not the empty string:
2626
2626
2627
2627
<ol>
2628
2628
<li><p> Let <var> port</var> be the mathematical integer value that is represented
@@ -2636,9 +2636,14 @@ and then runs these steps:
2636
2636
<var> url</var> 's <a for=url>scheme</a>' s <a>default port</a> ; otherwise to <var> port</var> .
2637
2637
2638
2638
<li><p> Set <var> buffer</var> to the empty string.
2639
+
2640
+ <li><p> If <var> state override</var> is given, then return.
2641
+ <!-- API validation error: we'd have to check what c is at this point if we cared about
2642
+ this. In particular when it's not EOF it's a bit dodgy. -->
2639
2643
</ol>
2640
2644
2641
- <li><p> If <var> state override</var> is given, then return.
2645
+ <li><p> If <var> state override</var> is given, then return failure.
2646
+ <!-- API validation error -->
2642
2647
2643
2648
<li><p> Set <var> state</var> to <a>path start state</a> and decrease <var> pointer</var> by 1.
2644
2649
</ol>
@@ -4188,6 +4193,7 @@ Sam Ruby,
4188
4193
Sam Sneddon,
4189
4194
Santiago M. Mola,
4190
4195
Sebastian Mayr,
4196
+ Shannon Booth,<!-- shannonbooth; GitHub -->
4191
4197
Simon Pieters,
4192
4198
Simon Sapin,
4193
4199
Steven Vachon,
0 commit comments