commit fd6ebc9: [Enhancement] Make Google URL redirection rules productive

twesterhever 40121680+twesterhever at users.noreply.github.com
Fri Feb 17 21:56:21 UTC 2023


Author: twesterhever
Date: 2023-02-17 15:48:47 +0000
URL: https://github.com/rspamd/rspamd/commit/fd6ebc9f80e1d7495664b1f0df95928bb6d10128 (refs/pull/4399/head)

[Enhancement] Make Google URL redirection rules productive

---
 rules/regexp/headers.lua | 10 +++++-----
 1 file 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'] = {


More information about the Commits mailing list