git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 63663dbd authored by Zach Copley's avatar Zach Copley

Stab that 'p' parameter!

parent 4247be51
......@@ -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]);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment