From d9f5570676f8abe5950493f5e772e87a14481a52 Mon Sep 17 00:00:00 2001 From: gami Date: Tue, 14 May 2024 21:19:30 +0900 Subject: [PATCH] [Minor] Exclude User-Agent: Mozilla Thunderbird from XM_UA_NO_VERSION --- 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 571ce0b71..fd1c966ad 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -967,7 +967,7 @@ reconf['HAS_FILE_URL'] = { } reconf['XM_UA_NO_VERSION'] = { - re = string.format('(!%s && !%s) && (%s || %s) !%s', + re = string.format('(!%s && !%s) && (%s || %s) && !%s', 'X-Mailer=/https?:/H', 'User-Agent=/https?:/H', 'X-Mailer=/^[^0-9]+$/H', -- 2.39.5