W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] URL: file: URLs

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 29 Oct 2012 11:24:01 -0400
Message-ID: <508E9F91.4090109@mit.edu>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: whatwg@lists.whatwg.org
On 10/29/12 10:53 AM, Anne van Kesteren wrote:
> But at that point in a URL you cannot have a path. A path starts with
> a slash after the host.

The point is that on Windows, Gecko parses file://c:/something as 

As in, it's an exception to the general "if there are two slashes after 
the "file:" then the next thing is a host rule.

> I suppose, I would hate it though for new URL(...) to depend on the platform.

I'm not sure there are great solutions here.  :(

Received on Monday, 29 October 2012 15:24:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:17 UTC