aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSebastianKrupinski <krupinskis05@gmail.com>2024-07-17 17:34:50 -0400
committerSebastianKrupinski <krupinskis05@gmail.com>2024-07-17 17:34:50 -0400
commit79c97e7f091c1cf068f46c146f38f0c95c31a6d5 (patch)
tree6eba1a069dbfcd0129df069075c43c6b78a23d4a /apps
parent718ef5dea5288a13e9536fd9a611ff777ee7168d (diff)
downloadnextcloud-server-79c97e7f091c1cf068f46c146f38f0c95c31a6d5.tar.gz
nextcloud-server-79c97e7f091c1cf068f46c146f38f0c95c31a6d5.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 9e1006e72c0..897901a61a4 100644
--- a/apps/dav/lib/CalDAV/Schedule/Plugin.php
+++ b/apps/dav/lib/CalDAV/Schedule/Plugin.php
@@ -130,6 +130,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;
}