mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +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_NAME");
|
||||
}
|
||||
if (this->chained && chainResult == true || !this->chained) {
|
||||
if ((this->chained && chainResult == true) || !this->chained) {
|
||||
for (Action *a :
|
||||
assay->m_rules->defaultActions[this->phase]) {
|
||||
if (a->action_kind
|
||||
|
Loading…
x
Reference in New Issue
Block a user