diff options
author | ville <ville@localhost> | 2007-10-25 19:43:57 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2007-10-25 19:43:57 +0000 |
commit | ada74639558cdcf9f15c25d98ea33231c38bf27f (patch) | |
tree | 83303aa3c26eedefd874c53b2def24deb71cbd2e | |
parent | 8d3c96821e35884a6a268b3ec8565b64ba06ccbd (diff) | |
download | markup-validator-ada74639558cdcf9f15c25d98ea33231c38bf27f.zip markup-validator-ada74639558cdcf9f15c25d98ea33231c38bf27f.tar.gz markup-validator-ada74639558cdcf9f15c25d98ea33231c38bf27f.tar.bz2 |
UTF-8-encode "authorization failed" template output (Chuck Houpt)
-rwxr-xr-x | httpd/cgi-bin/check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 6be50fe..41ab530 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.576 2007-10-19 19:37:39 ville Exp $ +# $Id: check,v 1.577 2007-10-25 19:43:57 ville Exp $ # # Disable buffering on STDOUT! @@ -186,7 +186,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.576 $; + $VERSION = q$Revision: 1.577 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -1268,7 +1268,7 @@ sub authenticate { $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. } |