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

pull/225/head
Ludovic Marcotte 2016-10-20 10:27:26 -04:00
parent c703a00659
commit e6b1589e5f
1 changed files with 4 additions and 0 deletions

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