summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-25 14:44:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-06-25 14:44:50 +0100
commite1dd05cf41041204e23c7c2fcb6cecaa757b811e (patch)
treebc2ef1a29214d74e1ece27fff671e37574f51619 /src
parent551625381ad7dd2b3c05fe5908e4494a25c4f5bb (diff)
downloadrspamd-e1dd05cf41041204e23c7c2fcb6cecaa757b811e.tar.gz
rspamd-e1dd05cf41041204e23c7c2fcb6cecaa757b811e.zip
Do not search plaintext email objects in html parts.
Diffstat (limited to 'src')
-rw-r--r--src/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.c b/src/url.c
index b9a74b09a..e858a20d5 100644
--- a/src/url.c
+++ b/src/url.c
@@ -371,7 +371,7 @@ struct url_matcher matchers[] = {
{ ".zm", "http://", url_tld_start, url_tld_end, URL_FLAG_NOHTML | URL_FLAG_STRICT_MATCH },
{ ".zw", "http://", url_tld_start, url_tld_end, URL_FLAG_NOHTML | URL_FLAG_STRICT_MATCH },
/* Likely emails */
- { "@", "mailto://",url_email_start, url_email_end, 0 }
+ { "@", "mailto://",url_email_start, url_email_end, URL_FLAG_NOHTML | URL_FLAG_STRICT_MATCH }
};
struct url_match_scanner {