Skip to content

Commit

Permalink
fix(caldav): decode values before returning
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
  • Loading branch information
SebastianKrupinski authored and backportbot[bot] committed Jul 18, 2024
1 parent f5ac1aa commit 658f225
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 658f225

Please sign in to comment.