mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fix matching condition and adjust test case
This commit is contained in:
committed by
Felipe Zimmerle
parent
379f370095
commit
a719871458
@@ -766,7 +766,7 @@ int Transaction::processRequestBody() {
|
||||
m_variableReqbodyProcessorError.set("0", m_variableOffset);
|
||||
}
|
||||
|
||||
if (m_rules->m_secRequestBodyAccess != RulesProperties::TrueConfigBoolean) {
|
||||
if (m_rules->m_secRequestBodyAccess == RulesProperties::FalseConfigBoolean) {
|
||||
if (m_requestBodyAccess != RulesProperties::TrueConfigBoolean) {
|
||||
#ifndef NO_LOGS
|
||||
debug(4, "Request body processing is disabled");
|
||||
|
Reference in New Issue
Block a user