Skip to content
Permalink
Browse files

Fix Windows drive letter handling in the file state

  • Loading branch information...
rmisev authored and annevk committed May 3, 2017
1 parent 1cdcab3 commit fe6b251739e225555f04319f19c70c031a5d99eb
Showing with 3 additions and 3 deletions.
  1. +3 −3 url.bs
6 url.bs
@@ -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>,

0 comments on commit fe6b251

Please sign in to comment.
You can’t perform that action at this time.