From 966eb4b0844aff453a48bcad7b342854f531f500 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 9 Feb 2016 16:32:34 +0100 Subject: [PATCH] realPath should contain the path to the file we want to read, e.g. the version and not the original file --- apps/encryption/lib/crypto/encryption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5