]> source.dussan.org Git - rspamd.git/commitdiff
[Enhancement] Make Google URL redirection rules productive 4399/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 17 Feb 2023 15:48:47 +0000 (15:48 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Fri, 17 Feb 2023 15:48:47 +0000 (15:48 +0000)
rules/regexp/headers.lua

index e493a663e9d775e502f265d81d6e87f7a290c662..c95561163434e1a982bb1e5ce7cac414746a7963 100644 (file)
@@ -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'] = {