normalize path

This commit is contained in:
Björn Schießle 2012-10-24 17:23:36 +02:00
parent ca58aa1644
commit 9eae10b94a

View file

@ -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])) {