]> source.dussan.org Git - nextcloud-server.git/commitdiff
make sure that we really catch the files folder only
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 17 Sep 2014 08:40:41 +0000 (10:40 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 19 Sep 2014 09:47:18 +0000 (11:47 +0200)
apps/files_encryption/lib/proxy.php

index 31d11338ef50fded70615f7b08a26dc5b93580c5..b406404a688678a2950781f77a6b50677f2ce709 100644 (file)
@@ -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;
                }