diff options
Diffstat (limited to 'library/OAuth1.php')
-rw-r--r-- | library/OAuth1.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/OAuth1.php b/library/OAuth1.php index e70cf0a1b..0a6b20b0a 100644 --- a/library/OAuth1.php +++ b/library/OAuth1.php @@ -293,8 +293,8 @@ class OAuth1Request { } // fix for friendica redirect system // FIXME or don't, but figure out if this is absolutely necessary and act accordingly - $http_url = substr($http_url, 0, strpos($http_url,$parameters['req'])+strlen($parameters['req'])); - unset( $parameters['req'] ); + $http_url = substr($http_url, 0, strpos($http_url,$parameters['q'])+strlen($parameters['q'])); + unset( $parameters['q'] ); return new OAuth1Request($http_method, $http_url, $parameters); } |