Re: [whatwg/url] Allow ports in file URLs (#548)

I have not looked into the port issue, but FWIW I'm pretty sure you can do away with the file host state in the standard fairly easily. Just parse them as special URLs and enforce that the authority does not have credentials later. Then you can handle whatever is decided about the port there too. You need to go back to using nulls for empty user/pass though, which I think I saw somewhere has changed before. 

Right now the host parser (which is called from the file host state) raises an error on `:` and `@`, so it just changes where the error is raised.

-- 
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/548#issuecomment-703572375

Received on Monday, 5 October 2020 11:30:31 UTC