Skip to content

Commit

Permalink
Apparently 0x is an IPv4 number. Fixes #50 (again).
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jul 23, 2015
1 parent 8848692 commit 1eab2ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions url.bs
Expand Up @@ -380,6 +380,9 @@ steps:
<li><p>Set <var>R</var> to 16.
</ol>

<li><p>If <var>input</var> is the empty string, return zero.
<!-- 0x/0X is a valid IPv4 number apparently -->

<li>
<p>Otherwise, if <var>input</var> contains at least two code points and the first code
point is "<code>0</code>", run these substeps:
Expand Down
5 changes: 5 additions & 0 deletions url.html
Expand Up @@ -625,6 +625,11 @@ <h3 class="heading settled" data-level="3.3" id="host-parsing"><span class="secn



<li>
<p>If <var>input</var> is the empty string, return zero.


</p>
<li>

<p>Otherwise, if <var>input</var> contains at least two code points and the first code
Expand Down

0 comments on commit 1eab2ab

Please sign in to comment.