]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Restore the old behaviour
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 11 Aug 2021 10:37:23 +0000 (11:37 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 11 Aug 2021 10:37:23 +0000 (11:37 +0100)
src/libserver/html/html_url.cxx

index ee9917b91a05d66f6a0507161482842d0af9f8b4..d073a25d99dd1ff2e2229d04cea0de0dd9fb859a 100644 (file)
@@ -181,7 +181,7 @@ html_url_is_phished(rspamd_mempool_t *pool,
                                                if (!rspamd_url_is_subdomain(disp_tok, href_tok)) {
                                                        href_url->flags |= RSPAMD_URL_FLAG_PHISHED;
                                                        href_url->linked_url = text_url;
-                                                       text_url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED|RSPAMD_URL_FLAG_PHISHED;
+                                                       text_url->flags |= RSPAMD_URL_FLAG_HTML_DISPLAYED;
                                                }
                                        }
                                }