[Pkg-owncloud-commits] [owncloud] 25/104: we can also have a path user/cache/...

David Prévot taffit at moszumanska.debian.org
Sat Jan 18 13:33:37 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 eaa5dd0282d1a106666580fbd8d4df66a492b32e
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Thu Dec 19 10:32:56 2013 +0100

    we can also have a path user/cache/...
---
 apps/files_encryption/lib/helper.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/files_encryption/lib/helper.php b/apps/files_encryption/lib/helper.php
index 0f63e1a..883e013 100755
--- a/apps/files_encryption/lib/helper.php
+++ b/apps/files_encryption/lib/helper.php
@@ -275,7 +275,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;
 		}
 

-- 
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