Merge pull request #12448 from owncloud/no503forRoot
Don't show favicon to prevent iteration through subfolders
This commit is contained in:
commit
60f7a86323
|
@ -38,7 +38,7 @@ $server->setBaseUri($baseuri);
|
||||||
$defaults = new OC_Defaults();
|
$defaults = new OC_Defaults();
|
||||||
$server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName()));
|
$server->addPlugin(new \Sabre\DAV\Auth\Plugin($authBackend, $defaults->getName()));
|
||||||
$server->addPlugin(new \Sabre\DAV\Locks\Plugin($lockBackend));
|
$server->addPlugin(new \Sabre\DAV\Locks\Plugin($lockBackend));
|
||||||
$server->addPlugin(new \Sabre\DAV\Browser\Plugin(false)); // Show something in the Browser, but no upload
|
$server->addPlugin(new \Sabre\DAV\Browser\Plugin(false, false)); // Show something in the Browser, but no upload
|
||||||
$server->addPlugin(new OC_Connector_Sabre_FilesPlugin());
|
$server->addPlugin(new OC_Connector_Sabre_FilesPlugin());
|
||||||
$server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin());
|
$server->addPlugin(new OC_Connector_Sabre_MaintenancePlugin());
|
||||||
$server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav'));
|
$server->addPlugin(new OC_Connector_Sabre_ExceptionLoggerPlugin('webdav'));
|
||||||
|
|
Loading…
Reference in New Issue