Bawolff <> changed:

           What    |Removed                     |Added
            Summary|when using                  |when using
                   |ApiBase::paramType          |ApiBase::PARAM_TYPE =>
                   |                            |'integer' without a min or
                   |                            |max value, api doesn't
                   |                            |validate the input is
                   |                            |actually an integer

--- Comment #1 from Bawolff <> 2011-02-13 07:36:38 UTC ---
oops, hit enter by accident.

When you specify a parameter to an api module is an integer with
ApiBase::PARAM_TYPE => 'integer', but don't list a max or min value, the api
doesn't seem to check its actually an integer. Expected behaviour would be for
it to pass the value through intval to turn it into an integer, like it does if
a min or max is specified.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to