Renames class Assay to Transaction

This commit is contained in:
Felipe Zimmerle
2016-01-13 14:38:37 -03:00
parent f3fd5d6621
commit a51e707517
249 changed files with 2961 additions and 1235 deletions

View File

@@ -24,8 +24,8 @@ namespace modsecurity {
namespace operators {
bool StrMatch::evaluate(Assay *assay, const std::string &input) {
std::string p = MacroExpansion::expand(param, assay);
bool StrMatch::evaluate(Transaction *transaction, const std::string &input) {
std::string p = MacroExpansion::expand(param, transaction);
bool ret = input.find(p) != std::string::npos;
if (negation) {