From 42e62cb3eba6c7336db8a8e43b3766a463f511c8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 14 Feb 2020 13:43:50 +0100 Subject: [PATCH] fix one error with sharing-links having passwords (no HTML tags in Headers!) --- api/src/Sharing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Sharing.php b/api/src/Sharing.php index ccad02ea68..71c7b69487 100644 --- a/api/src/Sharing.php +++ b/api/src/Sharing.php @@ -207,7 +207,7 @@ class Sharing header('WWW-Authenticate: Basic realm="'.$realm.'"'); return static::share_fail( '401 Unauthorized', - "\n\n401 Unauthorized\n\nAuthorization failed.\n\n\n" + "Authorization failed." ); }