- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 25 Feb 2005 00:25:06 +0000
- To: www-validator-cvs@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 UTC