Skip to content

Commit

Permalink
Merge pull request #46614 from nextcloud/backport/46594/stable29
Browse files Browse the repository at this point in the history
[stable29] fix(caldav): decode values before returning
  • Loading branch information
SebastianKrupinski authored Jul 18, 2024
2 parents f5ac1aa + 658f225 commit 2f88883
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/dav/lib/CalDAV/Schedule/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ protected function getAddressesForPrincipal($principal) {
if ($result === null) {
$result = [];
}

// iterate through items and html decode values
foreach ($result as $key => $value) {
$result[$key] = urldecode($value);
}

return $result;
}
Expand Down

0 comments on commit 2f88883

Please sign in to comment.