actions: Compute the rule association during relus load

This commit is contained in:
Felipe Zimmerle
2020-05-18 15:08:17 -03:00
parent 58407720dc
commit 9b54b8e8ae
74 changed files with 718 additions and 374 deletions

View File

@@ -28,13 +28,8 @@ namespace modsecurity {
namespace actions {
bool SetENV::init(std::string *error) {
return true;
}
bool SetENV::execute(RuleWithActions *rule, Transaction *t) {
std::string colNameExpanded(m_string->evaluate(t));
std::string colNameExpanded(getEvaluatedRunTimeString(t));
ms_dbg_a(t, 8, "Setting envoriment variable: "
+ colNameExpanded + ".");