aboutsummaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
-rw-r--r--rules/regexp/headers.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua
index 6f163bcd1..f7e23501c 100644
--- a/rules/regexp/headers.lua
+++ b/rules/regexp/headers.lua
@@ -903,6 +903,13 @@ reconf['HAS_ORG_HEADER'] = {
group = 'headers'
}
+reconf['HAS_CD_HEADER'] = {
+ re = string.format('header_exists(Content-Description)'),
+ description = 'Has Content-Description header',
+ score = 0.0,
+ group = 'headers'
+}
+
reconf['X_PHPOS_FAKE'] = {
re = 'X-PHP-Originating-Script=/^\\d{7}:/Hi',
description = 'Fake X-PHP-Originating-Script header',