diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-10 11:56:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-10 11:56:33 +0200 |
commit | 9d0200ca6b89d4689482da58f594773c5aa51a17 (patch) | |
tree | 77a4acbe04eb38325190dbcd0380ca77b1d3c846 | |
parent | 7451105e3f77911525c95e88a522c7d0115d8d14 (diff) | |
parent | 89bce5c76ef70ceae7c03b0b4955028c49d733df (diff) | |
download | nextcloud-server-9d0200ca6b89d4689482da58f594773c5aa51a17.tar.gz nextcloud-server-9d0200ca6b89d4689482da58f594773c5aa51a17.zip |
Merge pull request #45120 from nextcloud/bugfix/noid/sensitive-dav-forbidden-logging
fix(dav): Don't log access control as error
-rw-r--r-- | apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php index 47f4861c63e..2e8fcefe577 100644 --- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php @@ -45,6 +45,9 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin { // forbidden can be expected when trying to upload to // read-only folders for example Forbidden::class => true, + // our forbidden is expected when access control is blocking + // an item in a folder + \OCA\DAV\Connector\Sabre\Exception\Forbidden::class => true, // Happens when an external storage or federated share is temporarily // not available StorageNotAvailableException::class => true, |