]> source.dussan.org Git - nextcloud-server.git/commit
Do not setup a session when not required on WebDAV requests 28311/head
authorJulius Härtl <jus@bitgrid.net>
Wed, 4 Aug 2021 13:52:10 +0000 (15:52 +0200)
committerJulius Härtl <jus@bitgrid.net>
Wed, 21 Dec 2022 20:17:16 +0000 (21:17 +0100)
commit6abb37317f9a5e0dd4744b0c4a221ee04ffc700f
tree0678cb82fa36fb639fd5d905b4b7843296a2c3d0
parentc1a99ca58ffdcf37c7f9aaffdb336de45de98231
Do not setup a session when not required on WebDAV requests

If basic auth is used on WebDAV endpoints, we will not setup a session
by default but instead set a test cookie. Clients which handle session
cookies properly will send back the cookie then on the second request
and a session will be initialized which can be resued for
authentication.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/files/lib/Controller/ViewController.php
lib/base.php
lib/private/Authentication/TwoFactorAuth/Manager.php