Re: [whatwg/url] file: URL with a port number through the host setter (#97)

This is indeed a bug in my implementation.  I had overlooked the fact that file URLs can't have ports and used the same host-and-port parser for file URLs as non-file URLs.  We should also add a test like "new URL('file://host:45/path')" and make sure it fails.

-- 
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/97#issuecomment-269656678

Received on Thursday, 29 December 2016 16:40:19 UTC