(fix) make sure we unencode @ signs before storing them in the ACL table

This commit is contained in:
Ludovic Marcotte
2016-10-20 10:28:11 -04:00
parent cad99d476d
commit 6d9c5e4542
+4
View File
@@ -1831,6 +1831,10 @@ static NSArray *childRecordFields = nil;
SOGoGroup *group;
objectPath = [objectPathArray componentsJoinedByString: @"/"];
// We make sure we don't get unescaped uid - like foo%40bar.com
// or for groups - like %40team
uid = [uid stringByUnescapingURL];
aUID = uid;
if (![uid hasPrefix: @"@"])
{