Merge pull request #3764 from nextcloud/backport-3757-no-subsystem-for-locking
[stable11] Add new user agent of windows 10 dav backend
This commit is contained in:
commit
a557cc98b2
|
@ -136,6 +136,7 @@ class FakeLockerPlugin extends ServerPlugin {
|
|||
new LockDiscovery([$lockInfo])
|
||||
]);
|
||||
|
||||
$response->setStatus(200);
|
||||
$response->setBody($body);
|
||||
|
||||
return false;
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue