W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: img issue: should we restrict the URI

From: Maurice <maurice@thymeonline.com>
Date: Tue, 26 Aug 2008 12:38:50 -0400
Message-Id: <119432F6-4E03-45E7-9E63-8256F7280206@thymeonline.com>
To: public-html@w3.org

I recently had a page that was supposed to add 1  to a value in a  
database every time the page loaded but I had a <img src="" alt="">  
that I forgot about, so every page load 2 was added to the db value :(

I went looking to see if there was anything in writing anywhere saying  
that's what was supposed to happen. Didn't find anything.

On Jul 30, at 7:30 AM, Christian Schmidt wrote:

> The empty string is considered a relative reference to the page  
> itself, but the same URL usually doesn't return both HTML and images  
> (it could do, depending on the Accept request header, but that would  
> be rather unusual).
> If the src is empty, it is usually an indication that the author  
> forgot to include an image, but the browser has to fetch the  
> resource again anyway.
Received on Tuesday, 26 August 2008 16:39:34 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:37 UTC