From: James Turner Date: Wed, 17 Dec 2008 21:21:14 +0000 (+0100) Subject: Allow for loading of https favicon files X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=517e67cc0aa6a36ef1a72ee27307f817a7b008fe;p=midori Allow for loading of https favicon files --- diff --git a/katze/katze-net.c b/katze/katze-net.c index d8b0a405..0777a2bb 100644 --- a/katze/katze-net.c +++ b/katze/katze-net.c @@ -521,7 +521,8 @@ katze_net_load_icon (KatzeNet* net, g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL); pixbuf = NULL; - if (uri && g_str_has_prefix (uri, "http://")) + if (uri && (g_str_has_prefix (uri, "http://") || + g_str_has_prefix (uri, "https://"))) { i = 8; while (uri[i] != '\0' && uri[i] != '/')