Refactoring: renames Rule to RuleWithOperator

This commit is contained in:
Felipe Zimmerle
2019-02-19 11:08:47 -03:00
parent 8eb7b8fe6c
commit 59d4268882
100 changed files with 657 additions and 655 deletions

View File

@@ -21,7 +21,7 @@
namespace modsecurity {
namespace operators {
bool Contains::evaluate(Transaction *transaction, Rule *rule,
bool Contains::evaluate(Transaction *transaction, RuleWithOperator *rule,
const std::string &input, std::shared_ptr<RuleMessage> ruleMessage) {
std::string p(m_string->evaluate(transaction));
size_t offset = input.find(p);