aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog2
-rw-r--r--mail/mail-display.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 08282b04ea..891fe7072d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,7 @@
2002-06-25 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-display.c (on_url_requested): Also handle https urls.
+
* component-factory.c (mail_add_storage): Some compiler warning
fixes.
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 35521e9b13..0debf65ed8 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1221,7 +1221,7 @@ on_url_requested (GtkHTML *html, const char *url, GtkHTMLStream *handle,
}
/* See if it's something we can load. */
- if (strncmp (url, "http:", 5) == 0) {
+ if (strncmp (url, "http:", 5) == 0 || strncmp (url, "https:", 6) == 0) {
if (mail_config_get_http_mode () == MAIL_CONFIG_HTTP_ALWAYS ||
g_datalist_get_data (md->data, "load_images")) {
ba = g_byte_array_new ();