aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-08-26 20:00:12 +0200
committerGitHub <noreply@github.com>2022-08-26 20:00:12 +0200
commit47584eee601594a066099b701e0ea61a5c8fec2a (patch)
tree472471347798c3a398698404b2ad1c59b20c7894 /apps/dav
parentefbe9724076823a55485096a8ec88544410d791e (diff)
parentd1317e75409bdb2f37129ce07aee621bbe2b1a6c (diff)
downloadnextcloud-server-47584eee601594a066099b701e0ea61a5c8fec2a.tar.gz
nextcloud-server-47584eee601594a066099b701e0ea61a5c8fec2a.zip
Merge pull request #33713 from nextcloud/bugfix/noid/viewonlyfix
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/DAV/ViewOnlyPlugin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/DAV/ViewOnlyPlugin.php b/apps/dav/lib/DAV/ViewOnlyPlugin.php
index 1504969b5b4..b4652da09e1 100644
--- a/apps/dav/lib/DAV/ViewOnlyPlugin.php
+++ b/apps/dav/lib/DAV/ViewOnlyPlugin.php
@@ -57,6 +57,7 @@ class ViewOnlyPlugin extends ServerPlugin {
//priority 90 to make sure the plugin is called before
//Sabre\DAV\CorePlugin::httpGet
$this->server->on('method:GET', [$this, 'checkViewOnly'], 90);
+ $this->server->on('method:COPY', [$this, 'checkViewOnly'], 90);
}
/**