- From: Felix Becker <notifications@github.com>
- Date: Fri, 28 Apr 2017 09:42:04 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 28 April 2017 16:42:36 UTC
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