Merge pull request #61079 from nextcloud/backport/61057/stable33

[stable33] fix(dav): properly handle files metadata
This commit is contained in:
Louis 2026-06-09 11:01:34 +02:00 committed by GitHub
commit 7b6ca3c6fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -461,7 +461,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) {