Skip to content
Snippets Groups Projects
Commit f4179a3f authored by Björn Schießle's avatar Björn Schießle
Browse files

don't try to encrypt/decrypt cache chunks or files in the trash bin

parent f11f65c6
No related branches found
No related tags found
No related merge requests found
...@@ -255,8 +255,8 @@ class Proxy extends \OC_FileProxy { ...@@ -255,8 +255,8 @@ class Proxy extends \OC_FileProxy {
// split the path parts // split the path parts
$pathParts = explode('/', $path); $pathParts = explode('/', $path);
// FIXME: handling for /userId/cache used by webdav for chunking. The cache chunks are NOT encrypted // don't try to encrypt/decrypt cache chunks or files in the trash bin
if (isset($pathParts[2]) && $pathParts[2] === 'cache') { if (isset($pathParts[2]) && ($pathParts[2] === 'cache' || $pathParts[2] === 'files_trashbin')) {
return $result; return $result;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment