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

I confirmed that this is a quirk IE6+/Chrome (on Windows only) have. They do it for both `d:/foo` and `d:\foo`. In fact, they do it for any a-z scheme. IE6 also does it for a 0-9 or -/+ scheme; I'll consider those to be bugs. (Firefox's address bar quirk is only with a backslash, not a forward slash.)

Thoughts on only adopting this when a backslash is used? Or should we add a platform-specific quirk here similar to https://w3c.github.io/FileAPI/#convert-line-endings-to-native and make single-scheme URLs impossible forever on that platform?

cc @sleevi @valenting @achristensen07 @jasnell 

-- 
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#issuecomment-626350343

Received on Sunday, 10 May 2020 16:06:12 UTC