summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-16 22:42:57 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-16 22:42:57 +0100
commit622d02842ca10b59661ed5fe8f5e3eecb6da7f05 (patch)
treeaf33cdcd20b84b5bd66252d6c2c331248fc94c82 /apps/dav/lib
parent9abff14e8d5e76932fc227f34969c9661c736067 (diff)
downloadnextcloud-server-622d02842ca10b59661ed5fe8f5e3eecb6da7f05.tar.gz
nextcloud-server-622d02842ca10b59661ed5fe8f5e3eecb6da7f05.zip
fixes sharing to group ids /w chars that are being url encoded, carddav
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r--apps/dav/lib/CardDAV/CardDavBackend.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/dav/lib/CardDAV/CardDavBackend.php b/apps/dav/lib/CardDAV/CardDavBackend.php
index bd881eb06c2..f547553234d 100644
--- a/apps/dav/lib/CardDAV/CardDavBackend.php
+++ b/apps/dav/lib/CardDAV/CardDavBackend.php
@@ -191,9 +191,6 @@ class CardDavBackend implements BackendInterface, SyncSupport {
$principals = $this->principalBackend->getGroupMembership($principalUriOriginal, true);
$principals = array_merge($principals, $this->principalBackend->getCircleMembership($principalUriOriginal));
- $principals = array_map(function ($principal) {
- return urldecode($principal);
- }, $principals);
$principals[] = $principalUri;
$query = $this->db->getQueryBuilder();