summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2012-10-24 17:23:36 +0200
committerBjörn Schießle <schiessle@owncloud.com>2012-10-24 17:39:39 +0200
commit0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0 (patch)
tree757f823f59d6d795531ab7fb8fcbc3f3fc3d9d23
parent07e08d59289c39417fdba2e5d1a2e5540eb369d0 (diff)
downloadnextcloud-server-0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0.tar.gz
nextcloud-server-0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0.zip
normalize path
-rw-r--r--lib/filecache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 776b60abcac..f768ea8cec8 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])) {