diff --git a/lib/WellKnown/WebfingerHandler.php b/lib/WellKnown/WebfingerHandler.php index 569653be..ff3559ea 100644 --- a/lib/WellKnown/WebfingerHandler.php +++ b/lib/WellKnown/WebfingerHandler.php @@ -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); }