Re: [whatwg/url] Parsing an empty host (#79)

Here is another way to fix. Currently this is step 3:

3. If the last item in _parts_ is the empty string, set _syntaxViolationFlag_ and remove the last item from _parts_.

It could be changed to:

3. If last item in _parts_ is the empty string, set _syntaxViolationFlag_, and If _parts_ has more than one item, remove the last item from _parts_.

After that, step 6.1 "If part is the empty string, return input." applies.




-- 
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/issues/79#issuecomment-264337933

Received on Friday, 2 December 2016 00:25:37 UTC