Fix matching condition and adjust test case

This commit is contained in:
Victor Hora
2018-08-31 15:59:11 -04:00
committed by Felipe Zimmerle
parent 379f370095
commit a719871458
3 changed files with 4 additions and 2 deletions

View File

@@ -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");