From: Vsevolod Stakhov Date: Fri, 19 Nov 2021 09:53:49 +0000 (+0000) Subject: [Minor] Fix triggering of the suspicious url rule on percent encoding X-Git-Tag: 3.2~248 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90dfe4e87aa1bc3f7f700729c47645411aa7e9d4;p=thirdparty%2Frspamd.git [Minor] Fix triggering of the suspicious url rule on percent encoding --- 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];