aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;