Re: [whatwg] URL: "relative" file URL starting with "c:" quirk

On Thu, Jul 4, 2013 at 5:24 AM, Anne van Kesteren <annevk@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

Received on Monday, 8 July 2013 22:24:05 UTC