From 80c44ad7739d0ebe6a24ca177a9fca0fb3056c25 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Sat, 5 Oct 2019 15:58:47 -0100 Subject: [PATCH] returns 404 Signed-off-by: Maxence Lange --- lib/webfinger.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/webfinger.php b/lib/webfinger.php index e8bbdabb..499dfac4 100644 --- a/lib/webfinger.php +++ b/lib/webfinger.php @@ -110,6 +110,7 @@ try { try { $href = $configService->getSocialUrl() . '@' . $username; } catch (SocialAppConfigException $e) { + http_response_code(404); exit; }