normalize path

remotes/origin/stable5
Björn Schießle 12 years ago
parent 07e08d5928
commit 0c2a4264c9
  1. 2
      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])) {

Loading…
Cancel
Save