Skip to content

Commit

Permalink
wip: try to fix webdav propfinds with depth > 1
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Feb 14, 2023
1 parent 5ee5847 commit 7ffc0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Node/Folder.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function getDirectoryListing() {

return array_map(function (FileInfo $info) {
if ($info->getMimetype() === FileInfo::MIMETYPE_FOLDER) {
return new Folder($this->root, $this->view, $info->getPath(), $info, $this);
return new Folder($this->root, $this->view, $this->view->getRelativePath($info->getPath()), $info, $this);
} else {
return new File($this->root, $this->view, $info->getPath(), $info, $this);
}
Expand Down

0 comments on commit 7ffc0ff

Please sign in to comment.