commit c4e6bb9: [Minor] Core: Improve url findings in queries

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jan 29 14:28:03 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-01-29 12:07:00 +0000
URL: https://github.com/rspamd/rspamd/commit/c4e6bb9becc0db2d6a76de6a6faf2b011b089269

[Minor] Core: Improve url findings in queries

---
 src/libserver/html.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libserver/html.c b/src/libserver/html.c
index 5cadb499a..9aaed5fb3 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -1536,7 +1536,7 @@ rspamd_process_html_url (rspamd_mempool_t *pool, struct rspamd_url *url,
 
 	if (url->querylen > 0) {
 
-		if (rspamd_url_find (pool, url->query, url->querylen, &url_str, TRUE,
+		if (rspamd_url_find (pool, url->query, url->querylen, &url_str, FALSE,
 				NULL, &prefix_added)) {
 			query_url = rspamd_mempool_alloc0 (pool,
 					sizeof (struct rspamd_url));


More information about the Commits mailing list