aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-19 09:53:49 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-19 09:53:49 +0000
commit90dfe4e87aa1bc3f7f700729c47645411aa7e9d4 (patch)
treecc677e3ca9b0dab01296c408e769314effe57cc6
parent8035236f55336a2220f8598719e8dad2f01e3e8b (diff)
downloadrspamd-90dfe4e87aa1bc3f7f700729c47645411aa7e9d4.tar.gz
rspamd-90dfe4e87aa1bc3f7f700729c47645411aa7e9d4.zip
[Minor] Fix triggering of the suspicious url rule on percent encoding
-rw-r--r--src/libserver/html/html_url.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libserver/html/html_url.cxx b/src/libserver/html/html_url.cxx
index ff0834040..93fef68d1 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];