always get favicons from http://
This commit is contained in:
parent
dcc1f53714
commit
2d073d9139
|
@ -904,10 +904,10 @@ typedef enum
|
||||||
//let's try getting the tracker address without using any subdomains
|
//let's try getting the tracker address without using any subdomains
|
||||||
NSString * baseAddress;
|
NSString * baseAddress;
|
||||||
if ([hostComponents count] > 1)
|
if ([hostComponents count] > 1)
|
||||||
baseAddress = [NSString stringWithFormat: @"%@://%@.%@", [address scheme],
|
baseAddress = [NSString stringWithFormat: @"http://%@.%@",
|
||||||
[hostComponents objectAtIndex: [hostComponents count] - 2], [hostComponents lastObject]];
|
[hostComponents objectAtIndex: [hostComponents count] - 2], [hostComponents lastObject]];
|
||||||
else
|
else
|
||||||
baseAddress = [NSString stringWithFormat: @"%@://%@", [address scheme], [hostComponents lastObject]];
|
baseAddress = [NSString stringWithFormat: @"http://%@", [hostComponents lastObject]];
|
||||||
|
|
||||||
id icon = [fTrackerIconCache objectForKey: baseAddress];
|
id icon = [fTrackerIconCache objectForKey: baseAddress];
|
||||||
if (!icon && ![fTrackerIconLoading containsObject: baseAddress])
|
if (!icon && ![fTrackerIconLoading containsObject: baseAddress])
|
||||||
|
|
Loading…
Reference in New Issue