W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

validator/httpd/cgi-bin check,1.749,1.750

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 12 Dec 2009 12:47:26 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NJRNh-0003u2-8b@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv14774/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Use $url->query instead of $url->query_form as an obscure workaround to an
obscure taint mode issue apparently in the URI module (#5992 comment 13,
rt.cpan.org #52707).


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.749
retrieving revision 1.750
diff -u -d -r1.749 -r1.750
--- check	12 Dec 2009 11:36:27 -0000	1.749
+++ check	12 Dec 2009 12:47:19 -0000	1.750
@@ -1008,7 +1008,7 @@
     $File->{ParserOpts} = "";
 
     my $url = URI->new($CFG->{External}->{CompoundXML});
-    $url->query_form(out => "xml");
+    $url->query("out=xml");
 
     my $req = HTTP::Request->new(POST => $url);
 
@@ -1164,7 +1164,7 @@
     $File->{ParserOpts} = "";
 
     my $url = URI->new($CFG->{External}->{HTML5});
-    $url->query_form(out => "xml");
+    $url->query("out=xml");
 
     my $req = HTTP::Request->new(POST => $url);
     my $ct = &is_xml($File) ? "application/xhtml+xml" : "text/html";
Received on Saturday, 12 December 2009 12:47:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:16 GMT