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

index 579b68a6ffc4e39d1cfcb619feffcfc94f87208d..73b7a21da579939b317f9c38b4707ee4a6479678 100644 (file)
@@ -70,7 +70,7 @@ if rspamd_config:is_mime_utf8() then
 end
 
 reconf['R_HTTP_URL_IN_FROM'] = {
-  re = [[From=/(^|"|'|\s)https?:\/\/\S/iH]],
+  re = [[From=/(^|"|'|\s)[hH][tT][tT][pP][sS]?(:|=3A)\/\/\S/H]],
   score = 5.0,
   mime_only = true,
   description = 'HTTP URL in From header',