From 2d073d9139cc433841053dc57e2b5814f78b99ad Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 26 Sep 2009 16:31:00 +0000 Subject: [PATCH] always get favicons from http:// --- macosx/InfoWindowController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index 1d1b5927a..fc874ba7f 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -904,10 +904,10 @@ typedef enum //let's try getting the tracker address without using any subdomains NSString * baseAddress; if ([hostComponents count] > 1) - baseAddress = [NSString stringWithFormat: @"%@://%@.%@", [address scheme], + baseAddress = [NSString stringWithFormat: @"http://%@.%@", [hostComponents objectAtIndex: [hostComponents count] - 2], [hostComponents lastObject]]; else - baseAddress = [NSString stringWithFormat: @"%@://%@", [address scheme], [hostComponents lastObject]]; + baseAddress = [NSString stringWithFormat: @"http://%@", [hostComponents lastObject]]; id icon = [fTrackerIconCache objectForKey: baseAddress]; if (!icon && ![fTrackerIconLoading containsObject: baseAddress])