[whatwg] URL: "relative" file URL starting with "c:" quirk
Peter Kasting
pkasting at google.com
Mon Jul 8 15:23:40 PDT 2013
On Thu, Jul 4, 2013 at 5:24 AM, Anne van Kesteren <annevk at annevk.nl> wrote:
> Both Chromium and Internet Explorer treat
>
> <a href="c:/test">...</a>
>
> in a file served from e.g.
> file:///C:/Users/Anne%20van%20Kesteren/Desktop/file.html in a special
> way. The resolved URL becomes file:///c:/test (uppercase C in
> Chromium) rather than c:/test (note that c: is a valid URL scheme) as
> it does in Gecko.
>
> Is there a good reason to preserve this quirk?
Given how unlikely it is that someone will have registered a scheme handler
for the one-character drive letters, the Chrome/IE behavior seems more
forgiving and more likely what the author wants, to me.
PK
More information about the whatwg
mailing list