Re: [whatwg/url] Drive letters get duplicated when resolving Windows file: URL with base (#303)

Why do they act like hosts? A file: URI can have a host before the path, the path starts with a leading slash just like on other OS. It's just like a mounted drive on Linux.

The drive letter definitely is not shown as a host in any implementation I tested:
```js
new URL('/c:/foo/bar', 'file:///c:/baz/qux').host
''
```

Is this behaviour defined in the current spec?

-- 
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/303#issuecomment-298047509

Received on Friday, 28 April 2017 16:42:36 UTC