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:
parent
9abff14e8d
commit
622d02842c
|
@ -191,9 +191,6 @@ class CardDavBackend implements BackendInterface, SyncSupport {
|
||||||
$principals = $this->principalBackend->getGroupMembership($principalUriOriginal, true);
|
$principals = $this->principalBackend->getGroupMembership($principalUriOriginal, true);
|
||||||
$principals = array_merge($principals, $this->principalBackend->getCircleMembership($principalUriOriginal));
|
$principals = array_merge($principals, $this->principalBackend->getCircleMembership($principalUriOriginal));
|
||||||
|
|
||||||
$principals = array_map(function ($principal) {
|
|
||||||
return urldecode($principal);
|
|
||||||
}, $principals);
|
|
||||||
$principals[] = $principalUri;
|
$principals[] = $principalUri;
|
||||||
|
|
||||||
$query = $this->db->getQueryBuilder();
|
$query = $this->db->getQueryBuilder();
|
||||||
|
|
Loading…
Reference in New Issue