Use getParameter() for the "maxage" and "smaxage" parameters rather than pulling...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Fri, 10 Oct 2008 17:09:53 +0000 (17:09 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Fri, 10 Oct 2008 17:09:53 +0000 (17:09 +0000)
commitd01d0edd98571c6af276aa2043cc43744f68c123
treecdec473427c74bc678c1a5ccf3a9630b2bc781cc
parent926851d0a9bc3f82c30dc7857805733cbbe5560a
Use getParameter() for the "maxage" and "smaxage" parameters rather than pulling them straight out of the request
so that they'll be properly validated (and in particular coerced to integers).
RELEASE-NOTES
includes/api/ApiMain.php