summaryrefslogtreecommitdiff
path: root/lib/apioauth.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/apioauth.php')
-rw-r--r--lib/apioauth.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/apioauth.php b/lib/apioauth.php
index b2d8faa5a..75b0b3c57 100644
--- a/lib/apioauth.php
+++ b/lib/apioauth.php
@@ -77,6 +77,11 @@ class ApiOauthAction extends ApiAction
self::cleanRequest();
}
+ /*
+ * Clean up the request so the OAuth library doesn't find
+ * any extra parameters or anything else it's not expecting.
+ * I'm looking at you, p parameter.
+ */
static function cleanRequest()
{
// kill evil effects of magical slashing