Merge pull request #61080 from nextcloud/backport/61057/stable32

[stable32] fix(dav): properly handle files metadata
This commit is contained in:
Ferdinand Thiessen 2026-06-09 15:08:09 +02:00 committed by GitHub
commit 8686a008fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -450,7 +450,7 @@ class FilesPlugin extends ServerPlugin {
});
foreach ($node->getFileInfo()->getMetadata() as $metadataKey => $metadataValue) {
$propFind->handle(self::FILE_METADATA_PREFIX . $metadataKey, $metadataValue);
$propFind->handle(self::FILE_METADATA_PREFIX . $metadataKey, fn () => $metadataValue);
}
$propFind->handle(self::HIDDEN_PROPERTYNAME, function () use ($node) {