server/lib/private/connector/sabre
Lukas Reschke 476579b9c6 Fix WebDAV auth for session authentication only
\Sabre\DAV\Auth\Backend\AbstractBasic::authenticate was only calling \OC_Connector_Sabre_Auth::validateUserPass when the response of \Sabre\HTTP\BasicAuth::getUserPass was not null.

However, there is a case where the value can be null and the user could be authenticated anyways: The authentication via ownCloud web-interface and then accessing WebDAV resources. This was not possible anymore with this patch because it never reached the code path in this scenario.

This patchs allows authenticating with a session without isDavAuthenticated value stored (this is for ugly WebDAV clients that send the cookie in any case) and thus the functionality should work again.

To test this go to the admin settings and test if the WebDAV check works fine. Furthermore all the usual stuff (WebDAV / Shibboleth / etc...) needs testing as well.
2015-01-20 10:03:14 +01:00
..
exception Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
appenabledplugin.php Fix type hinting for app manager 2014-11-18 12:22:13 +01:00
auth.php Fix WebDAV auth for session authentication only 2015-01-20 10:03:14 +01:00
directory.php Merge pull request #12865 from owncloud/files-tags-webdav 2014-12-19 09:33:28 +01:00
exceptionloggerplugin.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
file.php remove unused variable and fix undefined variable 2015-01-08 09:46:40 +01:00
filesplugin.php adding getDirectDownload() to Wrapper 2014-12-28 17:17:14 +01:00
locks.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
maintenanceplugin.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
node.php Returns and update tags through WebDAV PROPFIND and PROPPATCH 2014-12-17 16:50:35 +01:00
objecttree.php Add getMountPoint to FileInfo 2014-12-17 14:03:50 +01:00
principal.php Use namespace 2015-01-05 09:54:14 +01:00
quotaplugin.php Convert StorageNotAvailableException to SabreDAV exception 2014-11-10 12:01:24 +01:00
request.php Upgrade SabreDAV to 1.8.10 2014-06-04 12:22:23 +02:00
server.php Returns and update tags through WebDAV PROPFIND and PROPPATCH 2014-12-17 16:50:35 +01:00
taglist.php Fix code style issues for tags plugin 2014-12-18 16:43:00 +01:00
tagsplugin.php Fix code style issues for tags plugin 2014-12-18 16:43:00 +01:00