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

[whatwg] Inconsistent behavior for empty-string URLs

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Tue, 15 Dec 2009 09:55:03 -0500
Message-ID: <7c2a12e20912150655jfec3f38v4ed4d392d4abc306@mail.gmail.com>
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

> In terms of web compat, I do recall a web picture gallery package that
> returned a html information page with a self reference to show the actual
> image.

How did that work?  It used a script that sniffed referers or
something crazy like that?
Received on Tuesday, 15 December 2009 06:55:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC