From: Bjoern Schiessle Date: Thu, 19 Dec 2013 09:32:56 +0000 (+0100) Subject: we can also have a path user/cache/... X-Git-Tag: v7.0.0alpha2~999^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fe7fb66ef871df59e5a0327817d06150aa803e99;p=nextcloud-server.git we can also have a path user/cache/... --- diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php index 17bcac5c585..f176c7714fd 100755 --- a/apps/files_encryption/lib/helper.php +++ b/apps/files_encryption/lib/helper.php @@ -274,7 +274,7 @@ class Helper { $split = explode('/', $trimmed); // it is not a file relative to data/user/files - if (count($split) < 2 || $split[1] !== 'files') { + if (count($split) < 2 || $split[1] !== 'files' || $split[1] !== 'cache') { return false; }