Re: [whatwg/url] Change path parsing for non-special URLs (#213)

domenic commented on this pull request.

Going to wait until https://github.com/w3c/web-platform-tests/pull/4586 are rebased before reviewing further

>  
-     <li><p>Set <var>state</var> to <a>path state</a>, and if neither <a>c</a> is
-     "<code>/</code>", nor <var>url</var> <a>is special</a> and <a>c</a> is
-     "<code>\</code>", decrease <var>pointer</var> by one.
+      <ol>
+       <li><p>If <a>c</a> is "<code>\</code>", <a>syntax violation</a>.
+
+       <li><p>Set <var>state</var> to <a>path state</a> and if <a>c</a> is neither "<code>/</code>"

This really seems like it'd be better as two steps.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/pull/213#pullrequestreview-18256266

Received on Tuesday, 24 January 2017 20:21:35 UTC