diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-08-21 17:12:02 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-08-21 17:12:02 +0400 |
commit | 233fba16ddb5346ade106b2a474cc4077b826082 (patch) | |
tree | 12ed2b517e7e29e795ade206f8d24de23dc2181d /src/message.c | |
parent | dfa3d03dc066f3b4887de7bb0774950ab49597ae (diff) | |
download | rspamd-233fba16ddb5346ade106b2a474cc4077b826082.tar.gz rspamd-233fba16ddb5346ade106b2a474cc4077b826082.zip |
Do not try to detect tld urls inside HTML texts as it generates too much false positive matches.
Add some prototypes for lua.
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c index b51114fd0..2f9aef978 100644 --- a/src/message.c +++ b/src/message.c @@ -1116,7 +1116,7 @@ process_message (struct worker_task *task) while (p < end) { /* Search to the end of url */ - if (url_try_text (task->task_pool, p, end - p, NULL, &url_end, &url_str)) { + if (url_try_text (task->task_pool, p, end - p, NULL, &url_end, &url_str, FALSE)) { if (url_str != NULL) { subject_url = memory_pool_alloc0 (task->task_pool, sizeof (struct uri)); if (subject_url != NULL) { |