Skip to content

Commit

Permalink
Fix Windows drive letter handling in the file state
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev authored and annevk committed May 3, 2017
1 parent 1cdcab3 commit fe6b251
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 @@ -1845,11 +1845,11 @@ string <var>input</var>, optionally with a <a>base URL</a> <var>base</var>, opti
<p>If at least one of the following is true

<ul class=brief>
<li><p><a>remaining</a> consists of zero code points
<li><p><a>c</a> and the first code point of <a>remaining</a> are not a
<a>Windows drive letter</a>
<li><p><a>remaining</a> consists of one code point
<li><p><a>remaining</a>'s second code point is <em>not</em> U+002F (/), U+005C (\),
U+003F (?), or U+0023 (#)
<li><p><a>remaining</a> has at least 2 code points and <a>remaining</a>'s second code
point is <em>not</em> U+002F (/), U+005C (\), U+003F (?), or U+0023 (#)
</ul>

<p>then set <var>url</var>'s <a for=url>host</a> to <var>base</var>'s <a for=url>host</a>,
Expand Down

0 comments on commit fe6b251

Please sign in to comment.