summaryrefslogtreecommitdiffstats
path: root/build/integration/features/webdav-related.feature
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-06-13 13:51:33 +0200
committerLukas Reschke <lukas@statuscode.ch>2017-06-13 13:54:52 +0200
commit633396001f89023b9dd39b3dc20f9e5430239600 (patch)
tree8a97bd690d34cbaa18bf999e4affedcbe19e7995 /build/integration/features/webdav-related.feature
parentb7761be4d9a53c4a5cebff4caf37bd2b4af6ebb4 (diff)
downloadnextcloud-server-633396001f89023b9dd39b3dc20f9e5430239600.tar.gz
nextcloud-server-633396001f89023b9dd39b3dc20f9e5430239600.zip
Prevent sending second WWW-Authenticate header
Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard. Fixes https://github.com/nextcloud/server/issues/5088 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build/integration/features/webdav-related.feature')
-rw-r--r--build/integration/features/webdav-related.feature4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature
index b4fd0511356..b8ed1c4a778 100644
--- a/build/integration/features/webdav-related.feature
+++ b/build/integration/features/webdav-related.feature
@@ -8,7 +8,7 @@ Feature: webdav-related
Then the HTTP status code should be "401"
And there are no duplicate headers
And The following headers should be set
- |WWW-Authenticate|Basic realm="Nextcloud", Bearer realm="Nextcloud"|
+ |WWW-Authenticate|Basic realm="Nextcloud"|
Scenario: Unauthenticated call new dav path
Given using new dav path
@@ -16,7 +16,7 @@ Feature: webdav-related
Then the HTTP status code should be "401"
And there are no duplicate headers
And The following headers should be set
- |WWW-Authenticate|Bearer realm="Nextcloud", Basic realm="Nextcloud"|
+ |WWW-Authenticate|Basic realm="Nextcloud"|
Scenario: Moving a file
Given using old dav path