Skip to content

Commit c2cea9c

Browse files
authored
Merge pull request #61078 from nextcloud/backport/61057/stable34
[stable34] fix(dav): properly handle files metadata
2 parents 3a9280b + e51978c commit c2cea9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Connector/Sabre/FilesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ public function handleGetProperties(PropFind $propFind, \Sabre\DAV\INode $node)
453453
});
454454

455455
foreach ($node->getFileInfo()->getMetadata() as $metadataKey => $metadataValue) {
456-
$propFind->handle(self::FILE_METADATA_PREFIX . $metadataKey, $metadataValue);
456+
$propFind->handle(self::FILE_METADATA_PREFIX . $metadataKey, fn () => $metadataValue);
457457
}
458458

459459
$propFind->handle(self::HIDDEN_PROPERTYNAME, function () use ($node) {

0 commit comments

Comments
 (0)