aboutsummaryrefslogtreecommitdiffstats
path: root/src/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-11-12 19:58:59 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-11-12 19:58:59 +0300
commit3b7bcc355f8b9d934b7478005c408af631e14acd (patch)
tree4667408a06fd83a30dd00cb2166ecc1831d0defe /src/html.c
parentfc5e5ef142c107027a01b90b35b52a8ce944d7ab (diff)
downloadrspamd-3b7bcc355f8b9d934b7478005c408af631e14acd.tar.gz
rspamd-3b7bcc355f8b9d934b7478005c408af631e14acd.zip
* Add ability to obtain phished url from lua
* Add ability to specify check domains for phishing check with 'domains' option
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index dee38a86b..810ba963b 100644
--- a/src/html.c
+++ b/src/html.c
@@ -697,6 +697,7 @@ check_phishing (struct worker_task *task, struct uri *href_url, const gchar *url
if (g_ascii_strncasecmp (href_url->host, new->host,
MAX (href_url->hostlen, new->hostlen)) != 0) {
href_url->is_phished = TRUE;
+ href_url->phished_url = new;
}
}
else {