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

pull/224/head
Ludovic Marcotte 2016-10-20 10:27:26 -04:00
parent cad99d476d
commit 6d9c5e4542
1 changed files with 4 additions and 0 deletions

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: @"@"])
{