fixes sharing to group ids /w chars that are being url encoded, carddav

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-12-16 22:42:57 +01:00
parent b4434833af
commit f34202190c
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 0 additions and 3 deletions

View File

@ -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();