]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove superfluous '|' in regular expression 4497/head
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Thu, 22 Jun 2023 20:51:54 +0000 (20:51 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Thu, 22 Jun 2023 20:51:54 +0000 (20:51 +0000)
rules/regexp/headers.lua

index 2dddf7d0f5dee516ed1234771a1cd4d7046d3cfe..51c3bf5d14b7a1e1543f9f6d82dc27aea6fe6b9d 100644 (file)
@@ -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'