commit 67e271b: [Minor] Restore the old behaviour
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Aug 11 10:42:04 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-08-11 11:37:23 +0100
URL: https://github.com/rspamd/rspamd/commit/67e271be5c35093a67cbc3c7f377169cc9ed2428 (HEAD -> master)
[Minor] Restore the old behaviour
---
src/libserver/html/html_url.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libserver/html/html_url.cxx b/src/libserver/html/html_url.cxx
index ee9917b91..d073a25d9 100644
--- a/src/libserver/html/html_url.cxx
+++ b/src/libserver/html/html_url.cxx
@@ -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;
}
}
}
More information about the Commits
mailing list