(fix) more multi-domain fixes and cleanups

This commit is contained in:
Ludovic Marcotte committed 2015-05-25 09:19:04 -04:00
1 parent e0c1d5e47b
commit ed42d1e26b
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -912,7 +912,7 @@ static Class NSNullK;
{
// Remove the "@" prefix used to identified groups in the ACL tables.
aUID = [uid hasPrefix: @"@"] ? [uid substringFromIndex: 1] : uid;
if (domain)
if (domain && [aUID rangeOfString: @"@"].location == NSNotFound)
cacheUid = [NSString stringWithFormat: @"%@@%@", aUID, domain];
else
cacheUid = aUID;