mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
normalize path
This commit is contained in:
parent
ca58aa1644
commit
9eae10b94a
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue