Skip to content

Commit

Permalink
Merge pull request #46613 from nextcloud/backport/46594/stable28
Browse files Browse the repository at this point in the history
[stable28] fix(caldav): decode values before returning
  • Loading branch information
SebastianKrupinski authored Jul 18, 2024
2 parents 9d56d3d + 71f4089 commit 6253c26
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 @@ -147,6 +147,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 6253c26

Please sign in to comment.