W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Inconsistent behavior for empty-string URLs

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 15 Dec 2009 09:33:16 -0800
Message-ID: <63df84f0912150933i70a48a63va9ea1a057fb5fa30@mail.gmail.com>
On Tue, Dec 15, 2009 at 6:55 AM, Aryeh Gregor <Simetrical+w3c at gmail.com> wrote:
> On Tue, Dec 15, 2009 at 6:16 AM, James May <whatwg at fowlsmurf.net> wrote:
>> If this change is made, what is the correct (explicit) way to refer to the
>> current URL? "." ?
>
> No, that will return the file in the current directory named ".".
> This might be the current directory itself. ?You would have to say
> "foo.html" or such. ?This shouldn't be a big deal, given how crazy
> you'd have to be to use the same URL for an HTML file and an image (or
> whatever).

I think "#" should work as well.

/ Jonas
Received on Tuesday, 15 December 2009 09:33:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC