summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-31 01:57:32 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-31 01:57:32 +0200
commit96ef926161155cf710838612501bf76756f89cb4 (patch)
treeb3dbb708209a7e3e79f7a461b4d1df42df6f7ad0 /apps/files_encryption
parentccdfb5942616a5b4bfeea04cfafac91017afc010 (diff)
downloadnextcloud-server-96ef926161155cf710838612501bf76756f89cb4.tar.gz
nextcloud-server-96ef926161155cf710838612501bf76756f89cb4.zip
normalize path to prevent following split to fail
Diffstat (limited to 'apps/files_encryption')
-rw-r--r--apps/files_encryption/lib/proxy.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index 11308612daf..e5f7f2e6954 100644
--- a/apps/files_encryption/lib/proxy.php
+++ b/apps/files_encryption/lib/proxy.php
@@ -299,6 +299,8 @@ class Proxy extends \OC_FileProxy {
*/
public function postFopen($path, &$result) {
+ $path = \OC\Files\Filesystem::normalizePath($path);
+
if (!$result) {
return $result;