summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-05 17:53:50 -0700
committerZach Copley <zach@status.net>2010-10-06 13:40:03 -0700
commitf97b863fd709135fb9f7bf7c756a1c6721e3e988 (patch)
tree824780da2d32d83c6dd108512c667cc2f3dac2ed /lib
parentf4f56eea3ae349ed7d47ae7385036107510bf5e5 (diff)
Update ApiOauthRequestTokenAction to support OAuth 1.0a
Diffstat (limited to 'lib')
-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