]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
[SECURITY] editparams.cgi doesn't check whether 'whinedays' and 'mostfreqthreshold...
authorlpsolit%gmail.com <>
Tue, 21 Feb 2006 07:35:10 +0000 (07:35 +0000)
committerlpsolit%gmail.com <>
Tue, 21 Feb 2006 07:35:10 +0000 (07:35 +0000)
defparams.pl

index f8e2c17e7232f4518ee46363e5d1731b5ec27aef..4bd109b8e7931c456d46eb0448e77b685a8c5013 100644 (file)
@@ -662,7 +662,8 @@ sub check_mail_delivery_method {
            'If you have a large database and this page takes a long time to ' .
            'load, try increasing this number.',
    type => 't',
-   default => '2'
+   default => '2',
+   checker => \&check_numeric
   },
 
   {
@@ -790,7 +791,8 @@ Configure bugmail: %urlbase%userprefs.cgi?tab=email
              state before our cronjob will whine at the owner.<br>
              Set to 0 to disable whining.},
    type => 't',
-   default => 7
+   default => 7,
+   checker => \&check_numeric
   },
 
   {