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
This commit is contained in:
Jeffrey Stedfast
2002-08-28 19:51:44 +00:00
committed by Jeffrey Stedfast
parent 2f038b76cb
commit bd8e7f9978
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);