Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2021-06-22 12:52:01 +0300
committerGitHub <noreply@github.com>2021-06-22 12:52:01 +0300
commiteeb8fd2e0ee6b1966ba19eb1a47a9c79880e2749 (patch)
treeb3b6c3986daaf471af0ca121e6144466f04e591b /apps
parentbbb6cb13f498e38e44bd2c2f68210d2eddf02e61 (diff)
parent373dd0e6905f13f5ddfb196619055a9379f96a2f (diff)
Merge pull request #27457 from nextcloud/backport/27444/stable19
[stable19] Header must contain a colon
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/Connector/PublicAuth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Connector/PublicAuth.php b/apps/dav/lib/Connector/PublicAuth.php
index 29f8295a7a5..45021772293 100644
--- a/apps/dav/lib/Connector/PublicAuth.php
+++ b/apps/dav/lib/Connector/PublicAuth.php
@@ -111,7 +111,7 @@ class PublicAuth extends AbstractBasic {
if (in_array('XMLHttpRequest', explode(',', $this->request->getHeader('X-Requested-With')))) {
// do not re-authenticate over ajax, use dummy auth name to prevent browser popup
http_response_code(401);
- header('WWW-Authenticate','DummyBasic realm="' . $this->realm . '"');
+ header('WWW-Authenticate: DummyBasic realm="' . $this->realm . '"');
throw new \Sabre\DAV\Exception\NotAuthenticated('Cannot authenticate over ajax calls');
}
return false;