mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Refactoring on the operators: negation is now being handled globally
Other minors changes were also made, including adding the prefix `m_' to all the members of the class.
This commit is contained in:
@@ -49,10 +49,6 @@ bool DetectSQLi::evaluate(Transaction *transaction, const std::string &input) {
|
||||
}
|
||||
}
|
||||
|
||||
if (negation) {
|
||||
return issqli == 0;
|
||||
}
|
||||
|
||||
return issqli != 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user