[Pkg-owncloud-commits] [owncloud] 102/258: make sure that we really catch the files folder only

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:22:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit ce69e83b33fbb34f37a1aa9d6a9e5af3e19417a2
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Wed Sep 17 10:40:41 2014 +0200

    make sure that we really catch the files folder only
---
 apps/files_encryption/lib/proxy.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index 62621f3..b07f423 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;
 		}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list