Refactoring on the RULE variable

This commit is contained in:
Felipe Zimmerle
2018-09-28 22:38:40 -03:00
parent 554251bade
commit 3e8e28da48
11 changed files with 188 additions and 40 deletions

View File

@@ -49,6 +49,7 @@ class RunTimeString {
void appendText(std::string text);
void appendVar(std::unique_ptr<modsecurity::Variables::Variable> var);
std::string evaluate(Transaction *t);
std::string evaluate(Transaction *t, Rule *r);
std::string evaluate() {
return evaluate(NULL);
}