Merge pull request #46613 from nextcloud/backport/46594/stable28

[stable28] fix(caldav): decode values before returning
This commit is contained in:
Sebastian Krupinski 2024-07-18 16:16:41 -04:00 committed by GitHub
commit 6253c26dff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,6 +147,11 @@ class Plugin extends \Sabre\CalDAV\Schedule\Plugin {
if ($result === null) {
$result = [];
}
// iterate through items and html decode values
foreach ($result as $key => $value) {
$result[$key] = urldecode($value);
}
return $result;
}