From e6b1589e5f3b6fe5f0d922d84f918a8a674f7cd1 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Thu, 20 Oct 2016 10:27:26 -0400 Subject: [PATCH] (fix) make sure we unencode @ signs before storing them in the ACL table --- SoObjects/SOGo/SOGoGCSFolder.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index 54917f95d..95f5a12be 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -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: @"@"]) {