aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-06-26 05:50:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-06-26 05:50:30 +0800
commit978b21733abd03e821282af4b51c54290eab5623 (patch)
tree3bbdc0dea220b240f6a39dddb120d6405026d71b /mail
parent9552c757eeb11961a9d2040eb0e765c99012cd97 (diff)
downloadgsoc2013-evolution-978b21733abd03e821282af4b51c54290eab5623.tar.gz
gsoc2013-evolution-978b21733abd03e821282af4b51c54290eab5623.tar.zst
gsoc2013-evolution-978b21733abd03e821282af4b51c54290eab5623.zip
Also handle https urls.
2002-06-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): Also handle https urls. svn path=/trunk/; revision=17280
Diffstat (limited to 'mail')
-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 ();