aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2017-06-08 09:08:24 +0200
committerGeorg Ehrke <developer@georgehrke.com>2017-06-12 21:01:30 +0200
commit35781ae45c517bb39cf3e43a5877226ab4c89bb6 (patch)
tree6eb19bf92ed5baa352b4e85312bcefe27e5594fa /apps/dav/lib/CalDAV
parent0577e55559a9402b3c58e46d888b6780dbb6c68f (diff)
downloadnextcloud-server-35781ae45c517bb39cf3e43a5877226ab4c89bb6.tar.gz
nextcloud-server-35781ae45c517bb39cf3e43a5877226ab4c89bb6.zip
urldecode group principals in Cal- and CardDAV backend
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/CalDAV')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index ef3df8de83e..7fe18cd8656 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -276,6 +276,9 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
// query for shared calendars
$principals = $this->principalBackend->getGroupMembership($principalUriOriginal, true);
+ $principals = array_map(function($principal) {
+ return urldecode($principal);
+ }, $principals);
$principals[]= $principalUri;
$fields = array_values($this->propertyMap);