fix: fix getNodeFromCacheEntryAndMount using relative path

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2025-03-10 16:38:39 +01:00
parent c5dc90dde9
commit 8edca98e8e
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -522,9 +522,9 @@ class Root extends Folder implements IRootFolder {
$isDir = $info->getType() === FileInfo::TYPE_FOLDER;
$view = new View('');
if ($isDir) {
return new Folder($this, $view, $path, $info, $parent);
return new Folder($this, $view, $fullPath, $info, $parent);
} else {
return new File($this, $view, $path, $info, $parent);
return new File($this, $view, $fullPath, $info, $parent);
}
}
}