diff options
author | Zach Copley <zach@status.net> | 2010-10-05 17:53:50 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-06 13:40:03 -0700 |
commit | f97b863fd709135fb9f7bf7c756a1c6721e3e988 (patch) | |
tree | 824780da2d32d83c6dd108512c667cc2f3dac2ed /lib | |
parent | f4f56eea3ae349ed7d47ae7385036107510bf5e5 (diff) |
Update ApiOauthRequestTokenAction to support OAuth 1.0a
Diffstat (limited to 'lib')
-rw-r--r-- | lib/apioauth.php | 5 |
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 |