From 0e1b77bfa5defc91dd29fb86ec5f53646f4abe93 Mon Sep 17 00:00:00 2001 From: "terry%mozilla.org" <> Date: Tue, 7 Dec 1999 01:09:53 +0000 Subject: Don't do dmose's paranoid checking of option values in the query page. --- CGI.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index 69a67b36b..a5a4b3b1e 100644 --- a/CGI.pl +++ b/CGI.pl @@ -270,6 +270,8 @@ sub navigation_header { } +$::CheckOptionValues = 1; + sub make_options { my ($src,$default,$isregexp) = (@_); my $last = ""; @@ -294,7 +296,7 @@ sub make_options { } } if (!$found && $default ne "") { - if ( Param("strictvaluechecks") && + if ( Param("strictvaluechecks") && $::CheckOptionValues && ($default ne $::dontchange) && ($default ne "-All-") && ($default ne "DUPLICATE") ) { print "Possible bug database corruption has been detected. " . -- cgit v1.2.3-24-g4f1b