diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2016-02-09 16:32:34 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-02-09 23:43:27 +0100 |
commit | 966eb4b0844aff453a48bcad7b342854f531f500 (patch) | |
tree | 5ec56d825093f40eb44545a9c8921bf09a7af9f6 /apps | |
parent | 5ccb9dfa7e35d78d61d7a973ee2a5fddfda7d766 (diff) | |
download | nextcloud-server-966eb4b0844aff453a48bcad7b342854f531f500.tar.gz nextcloud-server-966eb4b0844aff453a48bcad7b342854f531f500.zip |
realPath should contain the path to the file we want to read, e.g. the version and not the original file
Diffstat (limited to 'apps')
-rw-r--r-- | apps/encryption/lib/crypto/encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/crypto/encryption.php b/apps/encryption/lib/crypto/encryption.php index b640f9a7a03..403b617c5bb 100644 --- a/apps/encryption/lib/crypto/encryption.php +++ b/apps/encryption/lib/crypto/encryption.php @@ -170,7 +170,7 @@ class Encryption implements IEncryptionModule { */ public function begin($path, $user, $mode, array $header, array $accessList) { $this->path = $this->getPathToRealFile($path); - $this->realPath = $this->path; + $this->realPath = $path; $this->accessList = $accessList; $this->user = $user; $this->isWriteOperation = false; |