From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Thu, 22 Jun 2023 20:51:54 +0000 (+0000) Subject: [Minor] Remove superfluous '|' in regular expression X-Git-Tag: 3.6~60^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=472537fc8301704737e60aa2dbc6d308c7d1be48;p=rspamd.git [Minor] Remove superfluous '|' in regular expression --- diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 2dddf7d0f..51c3bf5d1 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -915,7 +915,7 @@ reconf['HAS_GUC_PROXY_URI'] = { } reconf['HAS_GOOGLE_REDIR'] = { - re = '/\\.google\\.([a-z]{2,3}(|\\.[a-z]{2,3})|info|jobs|)\\/url\\?/{url}i', + re = '/\\.google\\.([a-z]{2,3}(|\\.[a-z]{2,3})|info|jobs)\\/url\\?/{url}i', description = 'Has google.com/url or alike Google redirection URL', score = 1.0, group = 'url'