From 08ce184740b768372e4751db7dc08d2c153a63db Mon Sep 17 00:00:00 2001 From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Fri, 17 Feb 2023 16:01:16 +0000 Subject: [Enhancement] Add rule to detect Google Firebase URLs --- rules/regexp/headers.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rules') 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', -- cgit v1.2.3