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

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