[whatwg] URL: file: URLs

Anne van Kesteren annevk at annevk.nl
Mon Nov 5 00:33:30 PST 2012


On Tue, Oct 30, 2012 at 10:46 PM, Simon Pieters <simonp at 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/


More information about the whatwg mailing list