Re: [whatwg/url] Needs to ignore repeated slashes in file URL (#232)

@rmisev Thanks for your comment, that's a good point indeed! I will try supporting it, and potentially we need to update some logics around the file host state.

I also find an another case that should ignore some slashes:
**input:** `new URL('////////server/file', 'file:///tmp/mock/path')`
**href:** `file:///server/file`
**pathname:** `/server/file`

So it's not only about when the base is `localhost` but also includes some of the other base hosts.

-- 
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/232#issuecomment-278717694

Received on Thursday, 9 February 2017 17:47:55 UTC