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

Wow, I thought I accounted for this. 

"host state" should account for this somehow. Making host null would make the serializer unhappy as far as I can tell. So I guess the best solution would be to just not invoke the host parser for the empty string. I.e., change "Let host be the result of host parsing buffer." to "Let host be the empty string if buffer is the empty string, and the result of host parsing buffer otherwise."



---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/79#issuecomment-173668721

Received on Thursday, 21 January 2016 18:39:41 UTC