W3C home > Mailing lists > Public > www-validator@w3.org > September 2002

Re: minor bug in http://validator.w3.org/check/referer

From: Nick Kew <nick@webthing.com>
Date: Fri, 13 Sep 2002 02:33:55 +0100 (BST)
To: Jon Ribbens <jon+www-validator@unequivocal.co.uk>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.21.0209130222070.6218-100000@jarl.webthing.com>

On Thu, 12 Sep 2002, Jon Ribbens wrote:

> If you visit the above URL without a Referer: header, it returns the
> 301 "Moved Permanently" response code. This is incorrect, it should be
> returning the 302 "Found" response code.

Good catch!  Yes, that makes sense.  It's fixed in the development
version, so presumably Terje has noticed that already; OTOH neither
the "public" validator nor the list archive show this.

> It is pretty minor I guess but if even w3.org can't get its HTTP
> right, how can they expect anyone else to? ;-)

Quite right!  Actually there is an FAQ in there, and the real fix
is to return an error page that explains why it's not returning a
validation result.  I think the fix we have now is still wrong:

   Sorry, this type of URI ("") is not supported by this service.
   Please check that you entered the URI correctly.

When the user didn't enter a URL anywhere at all, it wants a dedicated
error message.  But at least it's correct HTTP!

Nick Kew
Received on Thursday, 12 September 2002 21:33:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:29 UTC