Skip to content

Commit

Permalink
Add fast path to pathname start state
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Dec 9, 2024
1 parent 7f3e3b6 commit 7962524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2435,6 +2435,9 @@ and then runs these steps:
<li><p>If <a>c</a> is U+005C (\), <a>invalid-reverse-solidus</a>
<a>validation error</a>.

<li><p>If <a>c</a> is U+002F (/) and <a>c</a> is the last character in the state machine, then,
set <var>url</var>'s <var>path</var> to U+002F (/) and return <var>output</var>.

<li><p>Set <var>state</var> to <a>special authority ignore slashes state</a>.
</ol>

Expand Down

0 comments on commit 7962524

Please sign in to comment.