aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-03 12:35:51 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-12-16 22:28:20 +0100
commit9abff14e8d5e76932fc227f34969c9661c736067 (patch)
treee6c2e4e7cb34316638aab3e080474a0b2e47f009
parent1186977589efc4e0d5b78f0024e6eaddffe39f6b (diff)
downloadnextcloud-server-9abff14e8d5e76932fc227f34969c9661c736067.tar.gz
nextcloud-server-9abff14e8d5e76932fc227f34969c9661c736067.zip
fix finding of groups with decodable chars in their id via DAV
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
-rw-r--r--apps/dav/lib/DAV/GroupPrincipalBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/DAV/GroupPrincipalBackend.php b/apps/dav/lib/DAV/GroupPrincipalBackend.php
index 8b9c5aa9488..772f3cf312c 100644
--- a/apps/dav/lib/DAV/GroupPrincipalBackend.php
+++ b/apps/dav/lib/DAV/GroupPrincipalBackend.php
@@ -231,7 +231,7 @@ class GroupPrincipalBackend implements BackendInterface {
}
}
- $carry[] = self::PRINCIPAL_PREFIX . '/' . $gid;
+ $carry[] = self::PRINCIPAL_PREFIX . '/' . urlencode($gid);
return $carry;
}, []);
break;