]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not log RequestedRangeNotSatisfiable exceptions in DAV 21838/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Tue, 14 Jul 2020 18:46:33 +0000 (20:46 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 14 Jul 2020 18:46:33 +0000 (20:46 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/dav/lib/Connector/Sabre/ExceptionLoggerPlugin.php

index 2f703d1e5f3c48e76ba402204bbccf9cd2a9e668..0bd0a54d66719d40e35fc536f7db27aaa5fa5ef8 100644 (file)
@@ -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 */