From 90dfe4e87aa1bc3f7f700729c47645411aa7e9d4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 19 Nov 2021 09:53:49 +0000 Subject: [PATCH] [Minor] Fix triggering of the suspicious url rule on percent encoding --- src/libserver/html/html_url.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libserver/html/html_url.cxx b/src/libserver/html/html_url.cxx index ff08340401..93fef68d13 100644 --- a/src/libserver/html/html_url.cxx +++ b/src/libserver/html/html_url.cxx @@ -414,7 +414,6 @@ html_process_url(rspamd_mempool_t *pool, std::string_view &input) /* Replace it back */ *d++ = (char)(codepoint & 0xff); i += 2; - has_bad_chars = TRUE; } else { *d++ = s[i]; -- 2.47.3