From a02f309c956648f469dd5c18bc84c4fd90c7ca03 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 26 Nov 2024 21:38:09 -0500 Subject: [PATCH] Update WebfingerHandler.php Signed-off-by: Josh --- lib/WellKnown/WebfingerHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }