[whatwg] Inconsistent behavior for empty-string URLs

Jonas Sicking jonas at sicking.cc
Tue Dec 15 09:33:16 PST 2009

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

More information about the whatwg mailing list