forked from GNUsocial/gnu-social
Stab that 'p' parameter!
This commit is contained in:
parent
4247be5116
commit
63663dbd0e
@ -93,7 +93,7 @@ class ApiOauthAction extends ApiAction
|
|||||||
$queryArray = explode('&', $_SERVER['QUERY_STRING']);
|
$queryArray = explode('&', $_SERVER['QUERY_STRING']);
|
||||||
|
|
||||||
for ($i = 0; $i < sizeof($queryArray); $i++) {
|
for ($i = 0; $i < sizeof($queryArray); $i++) {
|
||||||
if (substr($queryArray[$i], 0, 1) == 'p=') {
|
if (substr($queryArray[$i], 0, 2) == 'p=') {
|
||||||
unset($queryArray[$i]);
|
unset($queryArray[$i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user