mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 15:27:12 +00:00
(fix) make sure we unencode @ signs before storing them in the ACL table
This commit is contained in:
1 parent
c703a00659
commit
e6b1589e5f
1 file changed
+4
@@ -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: @"@"])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user