commit 05f3458: [Minor] Do not treat unnormalised urls as obscured

Vsevolod Stakhov vsevolod at highsecure.ru
Fri May 14 10:28:03 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-05-14 11:26:58 +0100
URL: https://github.com/rspamd/rspamd/commit/05f3458be9ff02b412548cd5693b09e34c6f052b (HEAD -> master)

[Minor] Do not treat unnormalised urls as obscured

---
 src/libserver/html.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/libserver/html.c b/src/libserver/html.c
index ec46f30c1..326c8facc 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -1764,10 +1764,6 @@ rspamd_process_html_url (rspamd_mempool_t *pool, struct rspamd_url *url,
 						 khash_t (rspamd_url_hash) *url_set,
 						 GPtrArray *part_urls)
 {
-	if (url->flags & RSPAMD_URL_FLAG_UNNORMALISED) {
-		url->flags |= RSPAMD_URL_FLAG_OBSCURED;
-	}
-
 	if (url->querylen > 0) {
 		struct rspamd_html_url_query_cbd qcbd;
 


More information about the Commits mailing list