]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Update headers.lua
authorDmitriy Alekseev <1865999+dragoangel@users.noreply.github.com>
Mon, 24 Mar 2025 16:33:04 +0000 (17:33 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Mar 2025 16:33:04 +0000 (17:33 +0100)
rules/regexp/headers.lua

index ca5578284ceaabd0865d87b18d577dd3ac159dbc..90ab8a4f877bed72b77f79cbbec2669c5fcab031 100644 (file)
@@ -70,7 +70,7 @@ if rspamd_config:is_mime_utf8() then
 end
 
 reconf['R_HTTP_URL_IN_FROM'] = {
-  re = [[From=/\shttps?:\/\/\S/iH]],
+  re = [[From=/(^|\s)https?:\/\/\S/iH]],
   score = 5.0,
   mime_only = true,
   description = 'HTTP URL in From header',