From: Vsevolod Stakhov Date: Tue, 14 Feb 2017 14:55:14 +0000 (+0000) Subject: [Minor] Treat urls in subject as displayed only X-Git-Tag: 1.5.0~99 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=972245ec54016b41909ba3020da16af48700de69;p=rspamd.git [Minor] Treat urls in subject as displayed only --- diff --git a/src/libserver/url.c b/src/libserver/url.c index 420c0f959..eb470c7db 100644 --- a/src/libserver/url.c +++ b/src/libserver/url.c @@ -2499,6 +2499,9 @@ rspamd_url_task_callback (struct rspamd_url *url, gsize start_offset, struct rspamd_url *query_url; gint rc; + /* It is just a displayed URL, we should not check it for certain things */ + url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED; + if (url->protocol == PROTOCOL_MAILTO) { if (url->userlen > 0) { if (!g_hash_table_lookup (task->emails, url)) {