sforkowany z mirror/friendica
Merge pull request #1431 from thorsten23/develop
Replaced 'q' by 'pagename' so that the basestring is encoded right. The ...2022.09-rc
commit
9f89fbe399
|
@ -293,8 +293,8 @@ class OAuthRequest {
|
|||
}
|
||||
// fix for friendica redirect system
|
||||
|
||||
$http_url = substr($http_url, 0, strpos($http_url,$parameters['q'])+strlen($parameters['q']));
|
||||
unset( $parameters['q'] );
|
||||
$http_url = substr($http_url, 0, strpos($http_url,$parameters['pagename'])+strlen($parameters['pagename']));
|
||||
unset( $parameters['pagename'] );
|
||||
|
||||
//echo "<pre>".__function__."\n"; var_dump($http_method, $http_url, $parameters, $_SERVER['REQUEST_URI']); killme();
|
||||
return new OAuthRequest($http_method, $http_url, $parameters);
|
||||
|
|
Ładowanie…
Reference in New Issue