]> source.dussan.org Git - nextcloud-server.git/commit
Prevent sending second WWW-Authenticate header 5386/head
authorLukas Reschke <lukas@statuscode.ch>
Tue, 13 Jun 2017 11:51:33 +0000 (13:51 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 13 Jun 2017 16:52:30 +0000 (18:52 +0200)
commit913758dc283d510d7e2400d52280939ab2d97d36
tree189856b2e7b6664008694a62a9438fdd5a59288f
parent4c56414cabc195031cf5dbec00e2b28a67237f85
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>
apps/dav/lib/Connector/Sabre/BearerAuth.php
apps/dav/tests/unit/Connector/Sabre/BearerAuthTest.php
build/integration/features/webdav-related.feature