aboutsummaryrefslogtreecommitdiffstats
path: root/rules/regexp
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2023-02-17 15:48:47 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2023-02-17 15:48:47 +0000
commitfd6ebc9f80e1d7495664b1f0df95928bb6d10128 (patch)
tree22faf908b0a7d9bec65c04c71f5068c30c9bd0c9 /rules/regexp
parentbd9708cf5a156cc292263058e8f3cdbaf4ef3a68 (diff)
downloadrspamd-fd6ebc9f80e1d7495664b1f0df95928bb6d10128.tar.gz
rspamd-fd6ebc9f80e1d7495664b1f0df95928bb6d10128.zip
[Enhancement] Make Google URL redirection rules productive
Diffstat (limited to 'rules/regexp')
-rw-r--r--rules/regexp/headers.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index e493a663e..c95561163 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -908,16 +908,16 @@ reconf['HAS_LIST_UNSUB'] = {
reconf['HAS_GUC_PROXY_URI'] = {
re = '/\\.googleusercontent\\.com\\/proxy/{url}i',
- description = 'Has googleusercontent.com proxy URI',
- score = 0.01,
- group = 'experimental'
+ description = 'Has googleusercontent.com proxy URL',
+ score = 1.0,
+ group = 'url'
}
reconf['HAS_GOOGLE_REDIR'] = {
re = '/\\.google\\.com\\/url\\?/{url}i',
description = 'Has google.com/url redirection',
- score = 0.01,
- group = 'experimental'
+ score = 1.0,
+ group = 'url'
}
reconf['XM_UA_NO_VERSION'] = {