From 9eae10b94ad73a8d52c329588f9ebce7741a0af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Wed, 24 Oct 2012 17:23:36 +0200 Subject: [PATCH] normalize path --- lib/filecache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/filecache.php b/lib/filecache.php index a36cfef6759..689ea12815f 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -65,7 +65,7 @@ class OC_FileCache{ if($root===false) { $root=OC_Filesystem::getRoot(); } - $fullpath=$root.$path; + $fullpath=OC_Filesystem::normalizePath($root.'/'.$path); $parent=self::getParentId($fullpath); $id=self::getId($fullpath,''); if(isset(OC_FileCache_Cached::$savedData[$fullpath])) {