[whatwg/url] "D:\foo" should be parsed as "file:///D:/foo" (#271)

https://quuz.org/url/liveview.html#D:/foo Edge and Chrome on Windows at least parse this as a file URL, which I think is much more friendly. Firefox does not, but has some special logic so that when you enter `D:\foo` in the URL bar, it translates it to `file:///D:/foo`.

They also parse https://quuz.org/url/liveview.html#D:b/foo as a file URL, so it's not about the path name starting with /... maybe they treat all single-character schemes this way?

-- 
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/271

Received on Friday, 10 March 2017 18:52:25 UTC