commit 904424e: correct headers.lua

GitHub noreply at github.com
Mon Jul 29 17:57:20 UTC 2024


Author: ishisora
Date: 2024-05-21 19:56:48 +0900
URL: https://github.com/rspamd/rspamd/commit/904424e212d00775f5dc7e7bb959d08bb0f7dd61 (refs/pull/4967/head)

correct headers.lua

---
 rules/regexp/headers.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index fd1c966ad..ef4d532bf 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -971,7 +971,7 @@ reconf['XM_UA_NO_VERSION'] = {
       'X-Mailer=/https?:/H',
       'User-Agent=/https?:/H',
       'X-Mailer=/^[^0-9]+$/H',
-      'User-Agent=/^[^0-9]+$/H'
+      'User-Agent=/^[^0-9]+$/H',
       'User-Agent=/^\\s*Mozilla Thunderbird/H'),
   description = 'X-Mailer/User-Agent header has no version number',
   score = 0.01,


More information about the Commits mailing list