diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-06-08 09:08:24 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-06-12 21:01:30 +0200 |
commit | 35781ae45c517bb39cf3e43a5877226ab4c89bb6 (patch) | |
tree | 6eb19bf92ed5baa352b4e85312bcefe27e5594fa /apps/dav/lib/CardDAV | |
parent | 0577e55559a9402b3c58e46d888b6780dbb6c68f (diff) | |
download | nextcloud-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/CardDAV')
-rw-r--r-- | apps/dav/lib/CardDAV/CardDavBackend.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php index 983220c6ba0..5742f97b701 100644 --- a/apps/dav/lib/CardDAV/CardDavBackend.php +++ b/apps/dav/lib/CardDAV/CardDavBackend.php @@ -162,6 +162,9 @@ class CardDavBackend implements BackendInterface, SyncSupport { // query for shared calendars $principals = $this->principalBackend->getGroupMembership($principalUriOriginal, true); + $principals = array_map(function($principal) { + return urldecode($principal); + }, $principals); $principals[]= $principalUri; $query = $this->db->getQueryBuilder(); |