From: Jose Celestino Date: Thu, 23 Jan 2025 13:05:57 +0000 (+0000) Subject: [Minor] Assuming that the remaining Google urls can also show esld only X-Git-Tag: 3.11.1~32^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5315%2Fhead;p=thirdparty%2Frspamd.git [Minor] Assuming that the remaining Google urls can also show esld only --- diff --git a/rules/regexp/urls.lua b/rules/regexp/urls.lua index eff69a565e..6dc99f0087 100644 --- a/rules/regexp/urls.lua +++ b/rules/regexp/urls.lua @@ -2,7 +2,7 @@ local reconf = config['regexp'] reconf['HAS_GUC_PROXY_URI'] = { - re = '/\\.googleusercontent\\.com\\/proxy/{url}i', + re = '/[\\.\\/]googleusercontent\\.com\\/proxy/{url}i', description = 'Has googleusercontent.com proxy URL', score = 1.0, group = 'url' @@ -16,7 +16,7 @@ reconf['HAS_GOOGLE_REDIR'] = { } reconf['HAS_GOOGLE_FIREBASE_URL'] = { - re = '/\\.firebasestorage\\.googleapis\\.com\\//{url}i', + re = '/[\\.\\/]firebasestorage\\.googleapis\\.com\\//{url}i', description = 'Contains firebasestorage.googleapis.com URL', score = 2.0, group = 'url'