Re: [whatwg/url] Is URL parser supposed to handle `https://blah.com`? (#261)

When you enter the authority state, you continue appending to buffer until
you reach the EOF code point. However, once you reach the EOF codepoint in
the authority state, you trigger Step 2 of the subalgorithm in
https://url.spec.whatwg.org/#authority-state

Step 2.2 decreases `pointer` by the length of `buffer` (Rewinding the
processing) and transitions to the `host` state if the @ flag wasn't set,
which it shouldn't be for this example.


-- 
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/261#issuecomment-283581994

Received on Thursday, 2 March 2017 07:56:11 UTC