aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSebastianKrupinski <krupinskis05@gmail.com>2024-07-17 17:34:50 -0400
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-07-18 14:02:34 +0000
commit658f22513840d687f25e9b6abed07bbbc791ead9 (patch)
tree147c2f40ea7e48286f6f49fe8449f8470a565aad /apps
parentf5ac1aa4451b22c468cc2e4eaa431ceae240a51a (diff)
downloadnextcloud-server-658f22513840d687f25e9b6abed07bbbc791ead9.tar.gz
nextcloud-server-658f22513840d687f25e9b6abed07bbbc791ead9.zip
fix(caldav): decode values before returning
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CalDAV/Schedule/Plugin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/Plugin.php b/apps/dav/lib/CalDAV/Schedule/Plugin.php
index a1297fd2cf1..cec42dc2ea1 100644
--- a/apps/dav/lib/CalDAV/Schedule/Plugin.php
+++ b/apps/dav/lib/CalDAV/Schedule/Plugin.php
@@ -154,6 +154,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;
}