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

@sleevi the authority state doesn't have a loop within it though. I read this algorithm as follows: after each execution of step 3 in the authority state, go back to the beginning of step 11 and switch on `state` again, re-entering the authority state, re-executing step 3, going back to beginning, etc. except after you've consumed the last character, you do not switch on `state` but instead carry on to step 12 ("If after a run `pointer` points to EOF code point, go to the next step.")

Maybe looping within the authority state is the intention (rather than switching on `state` after each completion of the steps within the state), but if so it's not clear to me from reading the algorithm.

-- 
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-283583608

Received on Thursday, 2 March 2017 08:03:22 UTC