- From: Ville Skytta <ville@dev.w3.org>
- Date: Sun, 09 Jan 2005 14:29:36 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin In directory hutz:/tmp/cvs-serv12787/httpd/cgi-bin Modified Files: check Log Message: Escape "file URI" properly in CSS validator URI query string param. Generally speaking, it would be better to do the escaping consistently in the templates wherever possible instead of in "check", no? Index: check =================================================================== RCS file: /sources/public/validator/httpd/cgi-bin/check,v retrieving revision 1.367 retrieving revision 1.368 diff -u -d -r1.367 -r1.368 --- check 9 Jan 2005 11:24:33 -0000 1.367 +++ check 9 Jan 2005 14:29:34 -0000 1.368 @@ -936,6 +936,7 @@ # # The URI... $T->param(file_uri => &ent($File->{URI})); + $T->param(file_uri_param => uri_escape($File->{URI})); # # Metadata... @@ -973,8 +974,6 @@ my $File = shift; my $T = shift; - $T->param(file_uri => &ent($File->{URI})); - my $gifborder = ' border="0"'; my $xhtmlendtag = ''; my($image_uri, $alttext, $gifhw);
Received on Sunday, 9 January 2005 14:29:37 UTC