W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2004

validator/httpd/cgi-bin check,1.305.2.143,1.305.2.144

From: Ville Skytta <ville@dev.w3.org>
Date: Sun, 20 Jun 2004 16:48:41 +0000
To: www-validator-cvs@w3.org
Message-Id: <20040620164841.4B5B94A850@hutz.w3.org>

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv17184

Modified Files:
      Tag: validator-0_6_0-branch
	check 
Log Message:
HTML escaping fix for "Authorization required" message (bug 805), thanks to Bjoern.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.143
retrieving revision 1.305.2.144
diff -u -d -r1.305.2.143 -r1.305.2.144
--- check	18 Jun 2004 23:17:44 -0000	1.305.2.143
+++ check	20 Jun 2004 16:48:38 -0000	1.305.2.144
@@ -1210,6 +1210,7 @@
   my $realm = $resource;
   $realm =~ s([^\w\d.-]*){}g;
   $authHeader =~ s( realm=([\'\"])?([^\1]+)\1){ realm="$realm-$2"};
+  $resource = &ent($resource);
 
     print <<"EOF";
 Status: 401 Authorization Required
Received on Sunday, 20 June 2004 12:48:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:06 UTC