(fix) more multi-domain fixes and cleanups

This commit is contained in:
Ludovic Marcotte
2015-05-25 09:19:04 -04:00
parent e0c1d5e47b
commit ed42d1e26b
2 changed files with 5 additions and 5 deletions
+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;