]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add new user agent of windows 10 dav backend
authorJoas Schilling <coding@schilljs.com>
Tue, 7 Mar 2017 16:24:26 +0000 (17:24 +0100)
committerJoas Schilling <coding@schilljs.com>
Wed, 8 Mar 2017 08:30:43 +0000 (09:30 +0100)
Thanks Microsoft

Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/dav/lib/Server.php

index 1205d018241035a7a50395bc83718cce9ad3c20a..772dfcf7e87d732bd9c63e1f720224c606275ace 100644 (file)
@@ -153,6 +153,7 @@ class Server {
                if($request->isUserAgent([
                        '/WebDAVFS/',
                        '/Microsoft Office OneNote 2013/',
+                       '/^Microsoft-WebDAV/',// Microsoft-WebDAV-MiniRedir/6.1.7601
                ])) {
                        $this->server->addPlugin(new FakeLockerPlugin());
                }