From bc6e352ccd41f0641144fc1fc2d4e52e8f5532c0 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Thu, 10 Oct 2013 16:06:26 +0200 Subject: the path need to be normalized before putting it into resolvePath() otherwise the returned internalPath will not match followup calls to e.g. Cache::getID() --- lib/private/files/view.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/private') diff --git a/lib/private/files/view.php b/lib/private/files/view.php index f74b595c8da..086e7487a6a 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -110,7 +110,9 @@ class View { * @return array consisting of the storage and the internal path */ public function resolvePath($path) { - return Filesystem::resolvePath($this->getAbsolutePath($path)); + $a = $this->getAbsolutePath($path); + $p = Filesystem::normalizePath($a); + return Filesystem::resolvePath($p); } /** -- cgit v1.2.3