summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-03-10 15:02:37 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-03-10 15:02:37 +0100
commit48e03e0c49cf462492ef8660958597b62a679617 (patch)
tree083f1ef78d6122ec2780b7e7bd9cfaeb78d5cc95
parent51072f742ea2988d8e485dff60d81834e077fe3f (diff)
downloadnextcloud-server-48e03e0c49cf462492ef8660958597b62a679617.tar.gz
nextcloud-server-48e03e0c49cf462492ef8660958597b62a679617.zip
Fake LOCK statement for Windows 7, 8 and 10 network mounts
* fixes #22596
-rw-r--r--apps/dav/lib/connector/sabre/serverfactory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/connector/sabre/serverfactory.php b/apps/dav/lib/connector/sabre/serverfactory.php
index fb20ef436e4..6ccec0bc0e8 100644
--- a/apps/dav/lib/connector/sabre/serverfactory.php
+++ b/apps/dav/lib/connector/sabre/serverfactory.php
@@ -110,6 +110,7 @@ class ServerFactory {
if($this->request->isUserAgent([
'/WebDAVFS/',
'/Microsoft Office OneNote 2013/',
+ '/Microsoft-WebDAV-MiniRedir/',
])) {
$server->addPlugin(new \OCA\DAV\Connector\Sabre\FakeLockerPlugin());
}