diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-07-13 14:20:35 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-07-13 14:20:35 +0200 |
commit | b3b080e1c04274fb880ce79c8ee8a8e5d0702989 (patch) | |
tree | 7da865092f0a3c98ab69fdfb8dd1eb7e8f2981ed /apps | |
parent | 1006ec56ceb2c7c5bc14a5401d46767cb4b72e6c (diff) | |
download | nextcloud-server-b3b080e1c04274fb880ce79c8ee8a8e5d0702989.tar.gz nextcloud-server-b3b080e1c04274fb880ce79c8ee8a8e5d0702989.zip |
Strip public webdav info about sharing and mount points
Remove information about whether a file is an incoming share or mount
point when requested over public webdav.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/publicwebdav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/publicwebdav.php b/apps/files_sharing/publicwebdav.php index c0a9dc328d1..5bde908109d 100644 --- a/apps/files_sharing/publicwebdav.php +++ b/apps/files_sharing/publicwebdav.php @@ -45,7 +45,7 @@ $defaults = new OC_Defaults(); $server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName())); // FIXME: The following line is a workaround for legacy components relying on being able to send a GET to / $server->addPlugin(new \OC\Connector\Sabre\DummyGetResponsePlugin()); -$server->addPlugin(new \OC\Connector\Sabre\FilesPlugin($objectTree)); +$server->addPlugin(new \OC\Connector\Sabre\FilesPlugin($objectTree, true)); $server->addPlugin(new \OC\Connector\Sabre\MaintenancePlugin(\OC::$server->getConfig())); $server->addPlugin(new \OC\Connector\Sabre\ExceptionLoggerPlugin('webdav', \OC::$server->getLogger())); |