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

This commit is contained in:
Ludovic Marcotte
2016-10-20 10:27:26 -04:00
parent c703a00659
commit e6b1589e5f

View File

@@ -1823,6 +1823,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: @"@"])
{