Skip to content

Commit 2f88883

Browse files
Merge pull request #46614 from nextcloud/backport/46594/stable29
[stable29] fix(caldav): decode values before returning
2 parents f5ac1aa + 658f225 commit 2f88883

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

apps/dav/lib/CalDAV/Schedule/Plugin.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ protected function getAddressesForPrincipal($principal) {
154154
if ($result === null) {
155155
$result = [];
156156
}
157+
158+
// iterate through items and html decode values
159+
foreach ($result as $key => $value) {
160+
$result[$key] = urldecode($value);
161+
}
157162

158163
return $result;
159164
}

0 commit comments

Comments
 (0)