mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Set the correct variable (m_requestBodyType) and add test case
This commit is contained in:
committed by
Felipe Zimmerle
parent
f999f54eda
commit
aa158ceef3
@@ -27,7 +27,7 @@ namespace ctl {
|
||||
|
||||
bool RequestBodyProcessorURLENCODED::evaluate(Rule *rule,
|
||||
Transaction *transaction) {
|
||||
transaction->m_requestBodyProcessor = Transaction::WWWFormUrlEncoded;
|
||||
transaction->m_requestBodyType = Transaction::WWWFormUrlEncoded;
|
||||
transaction->m_variableReqbodyProcessor.set("URLENCODED",
|
||||
transaction->m_variableOffset);
|
||||
|
||||
|
Reference in New Issue
Block a user