From: Steve Freegard Date: Mon, 19 Mar 2018 13:43:16 +0000 (+0000) Subject: Fix HAS_GUC_PROXY_URI and HAS_GOOGLE_REDIR X-Git-Tag: 1.7.1~6^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2089%2Fhead;p=thirdparty%2Frspamd.git Fix HAS_GUC_PROXY_URI and HAS_GOOGLE_REDIR --- diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 64a416c9ad..75ed91fd1b 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -932,14 +932,14 @@ reconf['HAS_LIST_UNSUB'] = { } reconf['HAS_GUC_PROXY_URI'] = { - re = '/\\.googleusercontent\\.com\\/proxy/{raw_mime}i', + re = '/\\.googleusercontent\\.com\\/proxy/{url}i', description = 'Has googleusercontent.com proxy URI', score = 0.01, group = 'experimental' } reconf['HAS_GOOGLE_REDIR'] = { - re = '/\\.google\\.com\\/url\\?/{raw_mime}i', + re = '/\\.google\\.com\\/url\\?/{url}i', description = 'Has google.com/url redirection', score = 0.01, group = 'experimental'