Re: [whatwg/url] Add non-special-URL hosts (#185)

annevk commented on this pull request.



> +and a boolean <var>isSpecial</var>, and then runs these steps:</p>
+
+<ol>
+ <li>
+  <p>If <var>isSpecial</var> is true, then:
+
+  <ol>
+   <li><p>If <var>input</var> is the empty string, then return failure.
+   <!-- Otherwise parsing URLs would not be idempotent:
+
+        https://@/example.org/ -> https:///example.org/ -> https://example.org/ -->
+
+   <li><p>Return the result of <a lt="host parser">host parsing</a> <var>input</var>.
+  </ol>
+
+ <li><p>Return <var>input</var>.

I either need to percent-encode input here or in the state machine.

-- 
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/185#pullrequestreview-14644064

Received on Thursday, 29 December 2016 08:58:48 UTC