Commit 39e8d6dc authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

[SECURITY] editparams.cgi doesn't check whether 'whinedays' and…

[SECURITY] editparams.cgi doesn't check whether 'whinedays' and 'mostfreqthreshold' are numeric - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=justdave
parent d95cd6e4
......@@ -104,7 +104,8 @@ Configure bugmail: %urlbase%userprefs.cgi?tab=email
{
name => 'whinedays',
type => 't',
default => 7
default => 7,
checker => \&check_numeric
},
{
......
......@@ -51,7 +51,8 @@ sub get_param_list {
{
name => 'mostfreqthreshold',
type => 't',
default => '2'
default => '2',
checker => \&check_numeric
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment