mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Adds sanity check to confirm that the rule has an ID and it is not duplicated
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
"SecRuleEngine On",
|
||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
||||
"SecDebugLogLevel 9",
|
||||
"SecRule REQUEST_COOKIES \"@contains test \" \"pass,t:trim\""
|
||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -80,7 +80,7 @@
|
||||
"SecRuleEngine On",
|
||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
||||
"SecDebugLogLevel 9",
|
||||
"SecRule REQUEST_COOKIES \"@contains test \" \"pass,t:trim\""
|
||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -122,7 +122,7 @@
|
||||
"SecRuleEngine On",
|
||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
||||
"SecDebugLogLevel 9",
|
||||
"SecRule REQUEST_COOKIES \"@contains test \" \"pass,t:trim\""
|
||||
"SecRule REQUEST_COOKIES \"@contains test \" \"id:1,pass,t:trim\""
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user