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

Re: [whatwg] URL: file: URLs

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 5 Nov 2012 09:33:30 +0100
Message-ID: <CADnb78g57WKzbDJFKfCcVGymjQw_vJ2QF-C-ow-eJbFLOn476Q@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: whatwg@lists.whatwg.org, Boris Zbarsky <bzbarsky@mit.edu>
On Tue, Oct 30, 2012 at 10:46 PM, Simon Pieters <simonp@opera.com> wrote:
> My knee-jerk reaction is the same as Anne's; why not do this for all
> platforms?

I now made it so that for URL's whose scheme is file, [a-Z] followed
by either : or | as first path segment becomes [a-Z] followed by :. I
also made it so that for URL's whose scheme is file, [a-Z] followed by
either : or | as host get an empty host and use that as first path
segment instead (applying the rules before, ending up with | converted
to :).

http://url.spec.whatwg.org/ (see "file host state" and "relative path
state", or search for "file" throughout)

Cheers,


-- 
http://annevankesteren.nl/
Received on Monday, 5 November 2012 08:33:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:11 GMT