Re: [whatwg/url] Review slashes after file:/// and file path normalization (#405)

As I wrote in #232 maybe there are other solutions, 

Some ideas:
1. Always replace the empty host with localhost.
2. Do so only in ambiguous cases.
3. Prefix ambiguous pathNames with `./`.
4. Don't collapse slashes at all.
5. Come up with something else?

No 4. seems most strict/ traditional but does not unify `file:////foo` with `file:///foo`. If that is a hard requirement, then perhaps 1. or 2. can be considered. 


-- 
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/405#issuecomment-407069936

Received on Monday, 23 July 2018 14:06:47 UTC