commit 08ce184: [Enhancement] Add rule to detect Google Firebase URLs
twesterhever
40121680+twesterhever at users.noreply.github.com
Fri Feb 17 21:56:22 UTC 2023
Author: twesterhever
Date: 2023-02-17 16:01:16 +0000
URL: https://github.com/rspamd/rspamd/commit/08ce184740b768372e4751db7dc08d2c153a63db (refs/pull/4401/head)
[Enhancement] Add rule to detect Google Firebase URLs
---
rules/regexp/headers.lua | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index e493a663e..5cc107ab8 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -920,6 +920,13 @@ reconf['HAS_GOOGLE_REDIR'] = {
group = 'experimental'
}
+reconf['HAS_GOOGLE_FIREBASE_URL'] = {
+ re = '/\\.firebasestorage\\.googleapis\\.com\\//{url}i',
+ description = 'Contains firebasestorage.googleapis.com URL',
+ score = 0.01,
+ group = 'experimental'
+}
+
reconf['XM_UA_NO_VERSION'] = {
re = string.format('(!%s && !%s) && (%s || %s)',
'X-Mailer=/https?:/H',
More information about the Commits
mailing list