Re: [whatwg/url] Proposal: file: URL separator deduplication (#552)

Right now, with the exception of drive letters, pathnames are pretty consistent between different schemes. I think it'd be unfortunate to have the slash-collapsing behavior just for `file` URLs.

Additionally, parsing `file:///etc//passwd` gives consistent results on a wide variety of parsers across different languages:

![image](https://user-images.githubusercontent.com/1538624/136905807-de468623-3472-47e0-b091-06f485daf1ec.png)

I would really want to preserve this level of interop, which is quite rare in `file` URLs.

-- 
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/552#issuecomment-940719713

Received on Tuesday, 12 October 2021 06:57:04 UTC