diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-09 15:42:26 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-09 15:42:26 +0100 |
commit | 0094c9875ecb848ddfa691e52985ae734a16a08c (patch) | |
tree | 3deef3d08995cbb330e254c7f437d84eb1d3a54f /src | |
parent | cd0cc6187ed4b153e3506bbf79d28aa760a85f4a (diff) | |
download | rspamd-0094c9875ecb848ddfa691e52985ae734a16a08c.tar.gz rspamd-0094c9875ecb848ddfa691e52985ae734a16a08c.zip |
[Fix] Fix url counts for href urls
Diffstat (limited to 'src')
-rw-r--r-- | src/libserver/html.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libserver/html.c b/src/libserver/html.c index 186376567..7d0a30390 100644 --- a/src/libserver/html.c +++ b/src/libserver/html.c @@ -2502,10 +2502,7 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool, struct html_content *hc, if (target_tbl != NULL) { turl = g_hash_table_lookup (target_tbl, url); - if (turl != NULL && turl->phished_url == NULL) { - g_hash_table_insert (target_tbl, url, url); - } - else if (turl == NULL) { + if (turl == NULL) { g_hash_table_insert (target_tbl, url, url); } else { |