Fake LOCK statement for Windows 7, 8 and 10 network mounts

* fixes #22596
This commit is contained in:
Morris Jobke 2016-03-10 15:02:37 +01:00
parent 730620cfb2
commit 098ce188b7
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ class ServerFactory {
if($this->request->isUserAgent([ if($this->request->isUserAgent([
'/WebDAVFS/', '/WebDAVFS/',
'/Microsoft Office OneNote 2013/', '/Microsoft Office OneNote 2013/',
'/Microsoft-WebDAV-MiniRedir/',
])) { ])) {
$server->addPlugin(new \OCA\DAV\Connector\Sabre\FakeLockerPlugin()); $server->addPlugin(new \OCA\DAV\Connector\Sabre\FakeLockerPlugin());
} }