kopia lustrzana https://github.com/nextcloud/social
Update WebfingerHandler.php
Signed-off-by: Josh <josh.t.richards@gmail.com>pull/1951/head
rodzic
662b1994d4
commit
a02f309c95
|
@ -223,7 +223,7 @@ class WebfingerHandler implements IHandler {
|
|||
// work around to extract resource:
|
||||
// on some setup (i.e. tests) the data are not available from IRequest
|
||||
$requestUri = $request->getRequestUri();
|
||||
if ($requestUri !== null) {
|
||||
if ($requestUri !== '') {
|
||||
parse_str(parse_url($requestUri, PHP_URL_QUERY) ?? '', $query);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue