aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-29 03:51:44 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-29 03:51:44 +0800
commitbd8e7f99783ca882f4e75c49a44726e83fac4a4f (patch)
tree1880767154e9bc71e4b5a8a2ae8751a86952e0f4 /e-util
parent2f038b76cbe2208b02f46545d9c2ca51c7a4b21c (diff)
downloadgsoc2013-evolution-bd8e7f99783ca882f4e75c49a44726e83fac4a4f.tar.gz
gsoc2013-evolution-bd8e7f99783ca882f4e75c49a44726e83fac4a4f.tar.zst
gsoc2013-evolution-bd8e7f99783ca882f4e75c49a44726e83fac4a4f.zip
Convert file: urls too. Fixes bug #29557.
2002-08-28 Jeffrey Stedfast <fejj@ximian.com> * e-html-utils.c (e_text_to_html_full): Convert file: urls too. Fixes bug #29557. svn path=/trunk/; revision=17899
Diffstat (limited to 'e-util')
-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);