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

Re: [whatwg] URL: file: URLs

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 31 Oct 2012 10:36:23 -0400
Message-ID: <50913767.6030708@mit.edu>
To: whatwg@lists.whatwg.org
On 10/31/12 9:52 AM, Anne van Kesteren wrote:
> I think bz made it pretty clear we need to treat as if you typed
> "file:///c:/foo" (at least on Windows, my preference is all
> platforms). Not sure what the rules are exactly, but I believe they
> are if you have a single ASCII letter followed by ":" or "|".

That's correct for Gecko.  Specifically, what Gecko looks for is a URI 
that matches this regexp, effectively:


So "file://z:" and "file://z|/" and "file://z:\" would all be treated as 
having no authority and the path starting with the "z" in Gecko.

Again, I would love info on other UAs.

Received on Wednesday, 31 October 2012 14:37:10 UTC

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