diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-11-13 11:47:32 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-11-13 23:31:08 +0100 |
commit | a3fc40921b20a3fcc1c7260f4abfcadc5a8c1d13 (patch) | |
tree | b359e30824d121cf2004ae4a048710d68a6ecbee /apps/dav/appinfo/v1/publicwebdav.php | |
parent | 1e9203cdef7009ef129f0f3e3db6a326d3f4db12 (diff) | |
download | nextcloud-server-a3fc40921b20a3fcc1c7260f4abfcadc5a8c1d13.tar.gz nextcloud-server-a3fc40921b20a3fcc1c7260f4abfcadc5a8c1d13.zip |
Add fake locker plugin for WebDAVFS
WebDAVFS as used by Finder requires a Class 2 compatible WebDAV server. This change introduces a fake locking provider which will simply advertise Locking support when a request originates from WebDAVFS. It will also return successful LOCK and UNLOCK responses.
Diffstat (limited to 'apps/dav/appinfo/v1/publicwebdav.php')
-rw-r--r-- | apps/dav/appinfo/v1/publicwebdav.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/publicwebdav.php b/apps/dav/appinfo/v1/publicwebdav.php index 5bdfd94e658..cf0488038d3 100644 --- a/apps/dav/appinfo/v1/publicwebdav.php +++ b/apps/dav/appinfo/v1/publicwebdav.php @@ -39,7 +39,8 @@ $serverFactory = new OCA\DAV\Connector\Sabre\ServerFactory( \OC::$server->getUserSession(), \OC::$server->getMountManager(), \OC::$server->getTagManager(), - \OC::$server->getEventDispatcher() + \OC::$server->getEventDispatcher(), + \OC::$server->getRequest() ); $requestUri = \OC::$server->getRequest()->getRequestUri(); |