mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-15 23:55:03 +03:00
Clarifies conditional by placing its parts into parentheses
This commit is contained in:
parent
b5a43871e6
commit
ea636e80ee
@ -414,7 +414,7 @@ bool Rule::evaluate(Assay *assay) {
|
|||||||
assay->m_collections.del("MATCHED_VARS_NAMES:" + v->m_key);
|
assay->m_collections.del("MATCHED_VARS_NAMES:" + v->m_key);
|
||||||
assay->m_collections.del("MATCHED_VARS_NAME");
|
assay->m_collections.del("MATCHED_VARS_NAME");
|
||||||
}
|
}
|
||||||
if (this->chained && chainResult == true || !this->chained) {
|
if ((this->chained && chainResult == true) || !this->chained) {
|
||||||
for (Action *a :
|
for (Action *a :
|
||||||
assay->m_rules->defaultActions[this->phase]) {
|
assay->m_rules->defaultActions[this->phase]) {
|
||||||
if (a->action_kind
|
if (a->action_kind
|
||||||
|
Loading…
x
Reference in New Issue
Block a user