diff options
author | ville <ville@localhost> | 2010-03-04 16:09:52 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2010-03-04 16:09:52 +0000 |
commit | e0f9e304712ef18145cdde229af78599c6cbf122 (patch) | |
tree | f7b6968d237f67a72e7b5991ab568cd8108da3ef /httpd | |
parent | bbfc95669d135ff47dc8092475d9e98a91639814 (diff) | |
download | markup-validator-e0f9e304712ef18145cdde229af78599c6cbf122.zip markup-validator-e0f9e304712ef18145cdde229af78599c6cbf122.tar.gz markup-validator-e0f9e304712ef18145cdde229af78599c6cbf122.tar.bz2 |
Fix encoding modification for docs passed to the XML parser (0.8.6 regression).
Diffstat (limited to 'httpd')
-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 a65f77a..5e03bfc 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.769 2010-03-03 19:40:59 ville Exp $ +# $Id: check,v 1.770 2010-03-04 16:09:52 ville Exp $ # # We need Perl 5.8.0+. @@ -191,7 +191,7 @@ EOF # # Strings - $VERSION = q$Revision: 1.769 $; + $VERSION = q$Revision: 1.770 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # Read friendly error message file @@ -620,7 +620,7 @@ if (&is_xml($File)) { (encoding${xmlws}*=${xmlws}* (?:(["'])[A-Za-z][a-zA-Z0-9_-]+\3) ) - ([^>].*\?>) + (.*?\?>) /$1encoding="UTF-8"$4/sox; # Is the document standalone? Need to check with a regex because |