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,10 +24,10 @@ namespace modsecurity {
namespace operators {
bool BeginsWith::evaluate(Assay *assay, const std::string &str) {
bool BeginsWith::evaluate(Transaction *transaction, const std::string &str) {
bool ret = false;
std::string p = MacroExpansion::expand(param, assay);
std::string p = MacroExpansion::expand(param, transaction);
if (str.size() < p.size()) {
ret = false;