(fix) return a 404 for public user
parent
a02642cad9
commit
5ecf917e6b
|
@ -421,7 +421,7 @@ static BOOL debugLeaks;
|
|||
if ([_key length] > 0 && ![_key isEqualToString:@"favicon.ico"])
|
||||
{
|
||||
obj = [self lookupUser: _key inContext: _ctx];
|
||||
if (!obj)
|
||||
if (!obj && ![_key isEqualToString: @"public"])
|
||||
obj = [self lookupUser: @"anonymous" inContext: _ctx];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue