From: Vsevolod Stakhov Date: Fri, 14 Dec 2018 09:19:45 +0000 (+0000) Subject: [Minor] Surbl: Skip displayed only urls X-Git-Tag: 1.9.0~434 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f725cbd80f92cb976e3fd6be7af8d076bb8b57e;p=thirdparty%2Frspamd.git [Minor] Surbl: Skip displayed only urls --- diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c index 056fafb9ce..4bc17db208 100644 --- a/src/plugins/surbl.c +++ b/src/plugins/surbl.c @@ -1907,6 +1907,11 @@ surbl_tree_url_callback (gpointer key, gpointer value, void *data) return; } + if (url->flags & RSPAMD_URL_FLAG_HTML_DISPLAYED) { + /* Skip urls that are displayed only */ + return; + } + task = param->task; surbl_module_ctx = param->ctx;