(fix) return a 404 for public user

pull/14/merge
Ludovic Marcotte 2016-12-16 09:07:55 -05:00
parent a02642cad9
commit 5ecf917e6b
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}
}