aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-29 03:52:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-29 03:52:58 +0800
commit6f794e46346557057768ac38922ca96ea6a68fee (patch)
treed26f6532d5d01ae20141824f6fe263450a9df19c
parentbd8e7f99783ca882f4e75c49a44726e83fac4a4f (diff)
downloadgsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar
gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.gz
gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.bz2
gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.lz
gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.xz
gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.zst
gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.zip
Match file: urls too.
2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-filter-tohtml.c (is_protocol): Match file: urls too. svn path=/trunk/; revision=17900
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-mime-filter-tohtml.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index a5d6f5b5c7..95d7d557ff 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-mime-filter-tohtml.c (is_protocol): Match file: urls too.
+
2002-08-28 Not Zed <NotZed@Ximian.com>
* tests/folder/test8.c (test_add_message): Change message number
diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c
index c1fd13c61b..980d6fcf7f 100644
--- a/camel/camel-mime-filter-tohtml.c
+++ b/camel/camel-mime-filter-tohtml.c
@@ -262,7 +262,8 @@ is_protocol (char *inptr, char *inend, gboolean *backup)
!strncasecmp (inptr, "ftp://", 6) ||
!strncasecmp (inptr, "nntp://", 7) ||
!strncasecmp (inptr, "mailto:", 7) ||
- !strncasecmp (inptr, "news:", 5))
+ !strncasecmp (inptr, "news:", 5) ||
+ !strncasecmp (inptr, "file:", 5))
return TRUE;
} else if (backup) {
*backup = TRUE;