aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2022-11-06 17:49:09 +0000
committerGitHub <noreply@github.com>2022-11-06 17:49:09 +0000
commitb1781565e2f2d34b01064cb4dba99a301a12c778 (patch)
tree62a8343be68cbbaf16d991aed1a40f5ead339c55 /rules
parent1f78100963b372ab1a9511e8595aa335d3facb82 (diff)
downloadrspamd-b1781565e2f2d34b01064cb4dba99a301a12c778.tar.gz
rspamd-b1781565e2f2d34b01064cb4dba99a301a12c778.zip
[Minor] Fix rule comment
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/misc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/regexp/misc.lua b/rules/regexp/misc.lua
index e39258a41..1304cd81a 100644
--- a/rules/regexp/misc.lua
+++ b/rules/regexp/misc.lua
@@ -103,7 +103,7 @@ rspamd_config:register_dependency('LEAKED_PASSWORD_SCAM', 'BITCOIN_ADDR')
-- Heurististic for detecting InterPlanetary File System (IPFS) gateway URLs:
-- These contain "ipfs" somewhere (either in the FQDN or the URL path) and a
--- content identifier (CID), comprising of either "qm", followed by 46 alphanumerical
+-- content identifier (CID), comprising of either "qm", followed by 44 alphanumerical
-- characters (CIDv0), or a CIDv1 of an alphanumerical string of unspecified length,
-- depending on the hash algorithm used, but starting with a multibase prefix.
local ipfs_cid = '/(qm[a-z0-9]{44}|[079fFvVtTbBcChkKzZmMuUP][a-z0-9]{44,128})/{url}i'