From cbc577df0ee6ec8855913442cfe0efe3a184e725 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 1 Dec 2010 17:09:41 +0300 Subject: [PATCH] Detect mailto: inside and tags. --- src/html.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html.c b/src/html.c index 1747c7ce2..42ed9dbfa 100644 --- a/src/html.c +++ b/src/html.c @@ -783,7 +783,8 @@ parse_tag_url (struct worker_task *task, struct mime_text_part *part, tag_id_t i if (g_ascii_strncasecmp (url_text, "http://", sizeof ("http://") - 1) != 0 && g_ascii_strncasecmp (url_text, "www", sizeof ("www") - 1) != 0 && - g_ascii_strncasecmp (url_text, "ftp://", sizeof ("ftp://") - 1) != 0) { + g_ascii_strncasecmp (url_text, "ftp://", sizeof ("ftp://") - 1) != 0 && + g_ascii_strncasecmp (url_text, "mailto:", sizeof ("mailto:") - 1) != 0) { return; } -- 2.39.5