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

This commit is contained in:
Bjoern Schiessle 2014-01-15 14:29:33 +01:00
parent f11f65c6a5
commit f4179a3f5a
1 changed files with 2 additions and 2 deletions

View File

@ -255,8 +255,8 @@ class Proxy extends \OC_FileProxy {
// split the path parts
$pathParts = explode('/', $path);
// FIXME: handling for /userId/cache used by webdav for chunking. The cache chunks are NOT encrypted
if (isset($pathParts[2]) && $pathParts[2] === 'cache') {
// don't try to encrypt/decrypt cache chunks or files in the trash bin
if (isset($pathParts[2]) && ($pathParts[2] === 'cache' || $pathParts[2] === 'files_trashbin')) {
return $result;
}