From: Florin Peter Date: Thu, 30 May 2013 23:57:32 +0000 (+0200) Subject: normalize path to prevent following split to fail X-Git-Tag: v6.0.0alpha2~642^2~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=96ef926161155cf710838612501bf76756f89cb4;p=nextcloud-server.git normalize path to prevent following split to fail --- 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;