From: Bjoern Schiessle Date: Wed, 17 Sep 2014 08:40:41 +0000 (+0200) Subject: make sure that we really catch the files folder only X-Git-Tag: v8.0.0alpha1~655^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a280859bf888b0573e24f47b335ba3d65b9212ae;p=nextcloud-server.git make sure that we really catch the files folder only --- 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; }