diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-07-14 20:46:33 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-07-14 20:46:33 +0200 |
commit | 68f1283691e759d417cf54b7517dd6efbc7463bc (patch) | |
tree | e4a55a25eb6f7172e1845b5a6e322965fc7293f2 /apps/dav | |
parent | 157c6527625cbe90649e32fe1b5dd99771e7541d (diff) | |
download | nextcloud-server-68f1283691e759d417cf54b7517dd6efbc7463bc.tar.gz nextcloud-server-68f1283691e759d417cf54b7517dd6efbc7463bc.zip |
Do not log RequestedRangeNotSatisfiable exceptions in DAV
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/dav')
-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 2f703d1e5f3..0bd0a54d667 100644 --- a/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php +++ b/apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php @@ -40,6 +40,7 @@ use Sabre\DAV\Exception\NotAuthenticated; use Sabre\DAV\Exception\NotFound; use Sabre\DAV\Exception\NotImplemented; use Sabre\DAV\Exception\PreconditionFailed; +use Sabre\DAV\Exception\RequestedRangeNotSatisfiable; use Sabre\DAV\Exception\ServiceUnavailable; class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin { @@ -74,6 +75,8 @@ class ExceptionLoggerPlugin extends \Sabre\DAV\ServerPlugin { MethodNotAllowed::class => true, // A locked file is perfectly valid and can happen in various cases FileLocked::class => true, + // An invalid range is requested + RequestedRangeNotSatisfiable::class => true, ]; /** @var string */ |