validator/httpd/cgi-bin check,1.769,1.770

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

Modified Files:
	check 
Log Message:
Fix encoding modification for docs passed to the XML parser (0.8.6 regression).

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.769
retrieving revision 1.770
diff -u -d -r1.769 -r1.770
--- check	3 Mar 2010 19:40:59 -0000	1.769
+++ check	4 Mar 2010 16:09:52 -0000	1.770
@@ -620,7 +620,7 @@
                (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

Received on Thursday, 4 March 2010 16:09:56 UTC