diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-08-26 20:00:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 20:00:12 +0200 |
commit | 47584eee601594a066099b701e0ea61a5c8fec2a (patch) | |
tree | 472471347798c3a398698404b2ad1c59b20c7894 /apps/dav | |
parent | efbe9724076823a55485096a8ec88544410d791e (diff) | |
parent | d1317e75409bdb2f37129ce07aee621bbe2b1a6c (diff) | |
download | nextcloud-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.php | 1 |
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); } /** |