Fix webdav support for OneNote clients
This commit is contained in:
parent
8cdbb1ccd8
commit
c5005bbab5
|
@ -119,7 +119,7 @@ class ServerFactory {
|
|||
// we do not provide locking we emulate it using a fake locking plugin.
|
||||
if($this->request->isUserAgent([
|
||||
'/WebDAVFS/',
|
||||
'/Microsoft Office OneNote 2013/',
|
||||
'/OneNote/',
|
||||
'/Microsoft-WebDAV-MiniRedir/',
|
||||
])) {
|
||||
$server->addPlugin(new \OCA\DAV\Connector\Sabre\FakeLockerPlugin());
|
||||
|
|
|
@ -179,7 +179,7 @@ class Server {
|
|||
// we do not provide locking we emulate it using a fake locking plugin.
|
||||
if($request->isUserAgent([
|
||||
'/WebDAVFS/',
|
||||
'/Microsoft Office OneNote 2013/',
|
||||
'/OneNote/',
|
||||
'/^Microsoft-WebDAV/',// Microsoft-WebDAV-MiniRedir/6.1.7601
|
||||
])) {
|
||||
$this->server->addPlugin(new FakeLockerPlugin());
|
||||
|
|
Loading…
Reference in New Issue