diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/regexp/headers.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 0624997aa..5f6a49437 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -938,6 +938,13 @@ reconf['HAS_GOOGLE_FIREBASE_URL'] = { group = 'url' } +reconf['HAS_FILE_URL'] = { + re = '/^file:\\/\\//{url}i', + description = 'Contains file:// URL', + score = 2.0, + group = 'url' +} + reconf['XM_UA_NO_VERSION'] = { re = string.format('(!%s && !%s) && (%s || %s)', 'X-Mailer=/https?:/H', |