summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-12-19 10:32:56 +0100
committerVincent Petry <pvince81@owncloud.com>2013-12-19 15:58:10 +0100
commitfe7fb66ef871df59e5a0327817d06150aa803e99 (patch)
tree064689e49cd06ded11397eb1a7be8c652bf153e6 /apps
parentae3df84e207f9bcac1b12923319c18fd80d5252d (diff)
downloadnextcloud-server-fe7fb66ef871df59e5a0327817d06150aa803e99.tar.gz
nextcloud-server-fe7fb66ef871df59e5a0327817d06150aa803e99.zip
we can also have a path user/cache/...
Diffstat (limited to 'apps')
-rwxr-xr-xapps/files_encryption/lib/helper.php2
1 files changed, 1 insertions, 1 deletions
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;
}