From 6f794e46346557057768ac38922ca96ea6a68fee Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 28 Aug 2002 19:52:58 +0000 Subject: Match file: urls too. 2002-08-28 Jeffrey Stedfast * camel-mime-filter-tohtml.c (is_protocol): Match file: urls too. svn path=/trunk/; revision=17900 --- camel/ChangeLog | 4 ++++ camel/camel-mime-filter-tohtml.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'camel') 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 + + * camel-mime-filter-tohtml.c (is_protocol): Match file: urls too. + 2002-08-28 Not Zed * 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; -- cgit v1.2.3