Skip to content

Commit

Permalink
uses empty host instead of null in path state
Browse files Browse the repository at this point in the history
Fixes whatwg#258.
  • Loading branch information
rmisev committed Feb 24, 2017
1 parent 4bf85a0 commit ff5ab18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions url.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2066,10 +2066,10 @@ string <var>input</var>, optionally with a <a>base URL</a> <var>base</var>, opti
<a>Windows drive letter</a>, then:

<ol>
<li><p>If <var>url</var>'s <a for=url>host</a> is non-null,
<li><p>If <var>url</var>'s <a for=url>host</a> is not the empty string,
<a>validation error</a>.

<li><p>Set <var>url</var>'s <a for=url>host</a> to null and replace the second
<li><p>Set <var>url</var>'s <a for=url>host</a> to the empty string and replace the second
code point in <var>buffer</var> with "<code>:</code>".
</ol>

Expand Down

0 comments on commit ff5ab18

Please sign in to comment.