validator/httpd/cgi-bin check,1.576,1.577

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

Modified Files:
	check 
Log Message:
UTF-8-encode "authorization failed" template output (Chuck Houpt)

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.576
retrieving revision 1.577
diff -u -d -r1.576 -r1.577
--- check	19 Oct 2007 19:37:39 -0000	1.576
+++ check	25 Oct 2007 19:43:57 -0000	1.577
@@ -1268,7 +1268,7 @@
   $File->{Templates}->{AuthzReq}->param(http_401_headers => $headers);
   $File->{Templates}->{AuthzReq}->param(http_401_url     => $resource);
 
-  print $File->{Templates}->{AuthzReq}->output;
+  print Encode::encode('UTF-8', $File->{Templates}->{AuthzReq}->output);
 
   exit; # Further interaction will be a new HTTP request.
 }

Received on Thursday, 25 October 2007 19:44:09 UTC