enable search tests

This commit is contained in:
Viktor Scharf
2025-02-14 09:26:32 +01:00
parent d3323dc505
commit c49915066c
12 changed files with 177 additions and 274 deletions
+1 -5
View File
@@ -4594,11 +4594,7 @@ trait WebDav {
// do not try to parse the resource path
// if the item to search is space itself
if (!GraphHelper::isSpaceId($entryNameToSearch ?? '')) {
$resourcePath = \substr($resourcePath, \strpos($resourcePath, '/') + 1);
}
if (\count($shareRootXml)) {
$shareroot = \trim((string)$shareRootXml[0], "/");
$resourcePath = $shareroot . "/" . $resourcePath;
$resourcePath = basename($resourcePath);
}
$resourcePath = \rawurldecode($resourcePath);
if ($entryNameToSearch === $resourcePath) {