validator/httpd/cgi-bin check,1.424,1.425

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

Modified Files:
	check 
Log Message:
Don't replace empty direct input with "1".
http://lists.w3.org/Archives/Public/www-validator/2005Jul/0074.html


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.424
retrieving revision 1.425
diff -u -d -r1.424 -r1.425
--- check	20 Jul 2005 13:26:01 -0000	1.424
+++ check	22 Jul 2005 15:20:01 -0000	1.425
@@ -1785,6 +1785,7 @@
   if (scalar $q->param) {
     foreach my $param ($q->param) {
       next if $param eq 'uploaded_file'; # 'uploaded_file' contains data.
+      next if $param eq 'fragment';      # Ditto 'fragment'.
       next if $q->param($param) eq '0';  # Keep false-but-set params.
       #
       # Parameters that are given to us without specifying a value get

Received on Friday, 22 July 2005 15:20:10 UTC