From: Zach Copley Date: Wed, 6 Oct 2010 00:27:55 +0000 (-0700) Subject: Stab that 'p' parameter! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63663dbd0e4e5c3dd1139b7bdc82ec46a9f27525;p=quix0rs-gnu-social.git Stab that 'p' parameter! --- diff --git a/lib/apioauth.php b/lib/apioauth.php index 6a9ab63778..b2d8faa5a5 100644 --- a/lib/apioauth.php +++ b/lib/apioauth.php @@ -93,7 +93,7 @@ class ApiOauthAction extends ApiAction $queryArray = explode('&', $_SERVER['QUERY_STRING']); for ($i = 0; $i < sizeof($queryArray); $i++) { - if (substr($queryArray[$i], 0, 1) == 'p=') { + if (substr($queryArray[$i], 0, 2) == 'p=') { unset($queryArray[$i]); } }