]> spindle.queued.net Git - midori/commitdiff
Allow for loading of https favicon files
authorJames Turner <james@bsdgroup.org>
Wed, 17 Dec 2008 21:21:14 +0000 (22:21 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 17 Dec 2008 21:23:24 +0000 (22:23 +0100)
katze/katze-net.c

index d8b0a405e43536c7230e6d6b3ce78f68c29c05c5..0777a2bbee21015ea9274557cfe0ff8b79c7404d 100644 (file)
@@ -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] != '/')