W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2005

validator/httpd/cgi-bin check,1.403,1.404

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 25 Feb 2005 00:25:06 +0000
To: www-validator-cvs@w3.org
Message-ID: <E1D4TI2-0003bn-4k@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
fixing uri param for to be passed to feedback script

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.403
retrieving revision 1.404
diff -u -d -r1.403 -r1.404
--- check	24 Feb 2005 17:59:49 -0000	1.403
+++ check	25 Feb 2005 00:25:04 -0000	1.404
@@ -1448,6 +1448,15 @@
         }
         my $_msg = $RSRC->{msg}->{nomsg}->{verbose};
         $_msg =~ s/<!--MID-->/$num/g;
+        if ($File->{'Is Upload'})
+	{
+		$_msg =~ s/<!--URI-->//g
+	}
+	else 
+	{
+		my $escaped_uri = uri_escape($File->{URI});
+        	$_msg =~ s/<!--URI-->/$escaped_uri/g;
+	}
         $explanation .= "    $_msg\n"; # The send feedback plea.
       }
 
Received on Friday, 25 February 2005 00:25:06 GMT

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