nextcloud/lib
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
..
l10n [tx-robot] updated from transifex 2015-01-20 01:54:37 -05:00
private Fix WebDAV auth for session authentication only 2015-01-20 10:03:14 +01:00
public Add PHPDoc for `urlParams` 2015-01-15 14:42:44 +01:00
repair Mask table and column names with backticks and add lastInsertID() workaround 2015-01-15 14:43:06 +01:00
autoloader.php use Composer autoloader not OC for non-Composer 3rdparty (#9643) 2014-10-28 11:32:20 +01:00
base.php Add some more sanity checks for maintenance mode 2015-01-09 21:52:16 +01:00