diff --git a/lib/Operation.php b/lib/Operation.php index afb6d0d..d911da0 100644 --- a/lib/Operation.php +++ b/lib/Operation.php @@ -103,10 +103,6 @@ protected function isBlockablePath(IStorage $storage, string $path): bool { return false; } - if (preg_match('/\.ocTransferId\d+\.part$/i', $path)) { - return false; - } - // '', admin, 'files', 'path/to/file.txt' $segment = explode('/', $fullPath, 4); @@ -116,6 +112,7 @@ protected function isBlockablePath(IStorage $storage, string $path): bool { } return isset($segment[2]) && in_array($segment[2], [ + 'uploads', 'files', 'thumbnails', 'files_versions',