aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib/proxy.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-11-10 12:40:24 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2014-11-26 10:57:47 +0100
commitfd86d76f98f58ef232de58cc55401d85de262d0a (patch)
treee70c5c202d6de38a8bd9c7d43df8e024704ef4da /apps/files_encryption/lib/proxy.php
parentc5fa8f1bdc08b07d03fcc9f9c84033960ec4e20f (diff)
downloadnextcloud-server-fd86d76f98f58ef232de58cc55401d85de262d0a.tar.gz
nextcloud-server-fd86d76f98f58ef232de58cc55401d85de262d0a.zip
new folder structure for keys
all keys are now in files_encryption/key/path_to_file/filename/ share keys are named: user.shareKey file key is named: fileKey
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 a358a46a6e7..8c8ffd61207 100644
--- a/apps/files_encryption/lib/proxy.php
+++ b/apps/files_encryption/lib/proxy.php
@@ -204,11 +204,11 @@ class Proxy extends \OC_FileProxy {
public function postFile_get_contents($path, $data) {
$plainData = null;
- $view = new \OC\Files\View('/');
// If data is a catfile
if (
Crypt::mode() === 'server'
+ && $this->shouldEncrypt($path)
&& Crypt::isCatfileContent($data)
) {