aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog3
-rw-r--r--e-util/e-html-utils.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 1491972331..31df2abe41 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,5 +1,8 @@
2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
+ * e-html-utils.c (e_text_to_html_full): Convert file: urls
+ too. Fixes bug #29557.
+
* e-proxy.[c,h] (e_proxy_init): New convenience function to
initialise the proxy settings for soup to use.
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c
index bc05d26f25..65d455a39a 100644
--- a/e-util/e-html-utils.c
+++ b/e-util/e-html-utils.c
@@ -249,7 +249,8 @@ e_text_to_html_full (const char *input, unsigned int flags, guint32 color)
!strncasecmp (cur, "ftp://", 6) ||
!strncasecmp (cur, "nntp://", 7) ||
!strncasecmp (cur, "mailto:", 7) ||
- !strncasecmp (cur, "news:", 5)) {
+ !strncasecmp (cur, "news:", 5) ||
+ !strncasecmp (cur, "file:", 5)) {
tmpurl = url_extract (&cur, TRUE);
if (tmpurl) {
refurl = e_text_to_html (tmpurl, 0);