mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
Merge pull request #9236 from nextcloud/13-8996
[stable13] Fix webdav support for OneNote clients
This commit is contained in:
commit
5262685e57
2 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,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());
|
||||
|
|
|
|||
|
|
@ -181,7 +181,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 a new issue