Skip to content

Commit

Permalink
Update WebfingerHandler.php
Browse files Browse the repository at this point in the history
Signed-off-by: Josh <[email protected]>
  • Loading branch information
joshtrichards authored Nov 27, 2024
1 parent 662b199 commit a02f309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WellKnown/WebfingerHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private function getSubjectFromRequest(IRequest $request): string {
// 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);
}

Expand Down

0 comments on commit a02f309

Please sign in to comment.