summaryrefslogtreecommitdiffstats
path: root/apps
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-18 12:00:37 +0100
commitfede4f41978ca82323428d27b0f78dadf3ff986b (patch)
tree81e2ae57ce3fa8f8978511c806216147a85a3038 /apps
parent5379273b063be1c78d1bb78521f1ec8ddb152759 (diff)
downloadnextcloud-server-fede4f41978ca82323428d27b0f78dadf3ff986b.tar.gz
nextcloud-server-fede4f41978ca82323428d27b0f78dadf3ff986b.zip
fix finding of groups with decodable chars in their id via DAV
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-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 38944317424..2399232ad0d 100644
--- a/apps/dav/lib/DAV/GroupPrincipalBackend.php
+++ b/apps/dav/lib/DAV/GroupPrincipalBackend.php
@@ -219,7 +219,7 @@ class GroupPrincipalBackend implements BackendInterface {
}
}
- $carry[] = self::PRINCIPAL_PREFIX . '/' . $gid;
+ $carry[] = self::PRINCIPAL_PREFIX . '/' . urlencode($gid);
return $carry;
}, []);
break;