W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

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

From: Peter Kasting <pkasting@google.com>
Date: Mon, 8 Jul 2013 15:23:40 -0700
Message-ID: <CAAHOzFAb43x6Xu7Z+bW9rBtTkUvjO0r8M_Uj_25tZhFP+-p71w@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@whatwg.org>
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.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC