summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/proxy.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-09-17 10:40:41 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-09-19 11:47:18 +0200
commita280859bf888b0573e24f47b335ba3d65b9212ae (patch)
tree331fbd76c44e016e84f20d0437365c782531c7a5 /apps/files_encryption/lib/proxy.php
parent2ee14c47347f9300e8042097f0ec7cbcbfcc4981 (diff)
downloadnextcloud-server-a280859bf888b0573e24f47b335ba3d65b9212ae.tar.gz
nextcloud-server-a280859bf888b0573e24f47b335ba3d65b9212ae.zip
make sure that we really catch the files folder only
Diffstat (limited to 'apps/files_encryption/lib/proxy.php')
-rw-r--r--apps/files_encryption/lib/proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index 31d11338ef5..b406404a688 100644
--- a/apps/files_encryption/lib/proxy.php
+++ b/apps/files_encryption/lib/proxy.php
@@ -54,7 +54,7 @@ class Proxy extends \OC_FileProxy {
$view = new \OC\Files\View();
// files outside of the files-folder are excluded
- if(strpos($path, '/' . $uid . '/files') !== 0) {
+ if(strpos($path, '/' . $uid . '/files/') !== 0) {
return true;
}