W3C home > Mailing lists > Public > www-validator-css@w3.org > May 2007

Referer URI not encoded (Was: Long url bug)

From: olivier Thereaux <ot@w3.org>
Date: Mon, 28 May 2007 14:45:36 +0900
Message-Id: <B80641AD-0F59-49C0-9DEE-392C3EAC71AA@w3.org>
Cc: www-validator-css@w3.org
To: GRUPO INNOVA <admin@grupoinnova.biz>


On May 28, 2007, at 10:47 , GRUPO INNOVA wrote:
> I have the xhtml and the css validator  buttons on my website.
> the link to the xhtml (http://validator.w3.org/check?uri=referer)  
> is working well but when i try to validate the css (http:// 
> jigsaw.w3.org/css-validator/check/referer) it gives me this error:
> I/O Error: http://grupoinnova.biz/pub/index.php?option=com_content:  
> Not Found
> If i try to validate the css directly (http:// 
> www.publicidadinnova.com/pub/style.css) there is no problem but  
> doing the validate from the button it give me the error. I think  
> the error can be for the fact that the url is too long (http:// 
> jigsaw.w3.org/css-validator/validator?uri=http:// 
> www.publicidadinnova.com/pub/index.php? 
> option=com_content&task=view&id=18&Itemid=45)
> becouse validating the index page (http://jigsaw.w3.org/css- 
> validator/validator?uri=http://www.publicidadinnova.com/pub/ 
> index.php) there is no problem.
> Thz

The problem is not so much the length of the URI, but it is a bug in  
the validator.
The CSS validator, when called with check?uri=referer does a  
redirection to validator?uri=http://the/real/URI...

The Referer URI has to be escaped (URI-encoded) otherwise parameters  
in that URI will end up like

here, quz=zog is interpreted as being parameters *for the validator*
whereas the redirect should go to

I fixed the bug in the dev version of the validator. There is a small  
technical issue  preventing me from updating the production instance,  
but that should be solved within a few days, too..


Received on Monday, 28 May 2007 05:45:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC