File tree 12 files changed +0
-36
lines changed
12 files changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,6 @@ namespace modsecurity {
32
32
namespace actions {
33
33
34
34
35
- bool ExpireVar::init (std::string *error) {
36
- return true ;
37
- }
38
-
39
-
40
35
bool ExpireVar::evaluate (RuleWithActions *rule, Transaction *t) {
41
36
42
37
std::string expireExpressionExpanded (m_string->evaluate (t));
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ class ExpireVar : public Action {
40
40
m_string(std::move(z)) { }
41
41
42
42
bool evaluate (RuleWithActions *rule, Transaction *transaction) override ;
43
- bool init (std::string *error) override ;
44
43
45
44
private:
46
45
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ namespace modsecurity {
26
26
namespace actions {
27
27
28
28
29
- bool SetENV::init (std::string *error) {
30
- return true ;
31
- }
32
-
33
-
34
29
bool SetENV::evaluate (RuleWithActions *rule, Transaction *t) {
35
30
std::string colNameExpanded (m_string->evaluate (t));
36
31
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ class SetENV : public Action {
40
40
m_string(std::move(z)) { }
41
41
42
42
bool evaluate (RuleWithActions *rule, Transaction *transaction) override ;
43
- bool init (std::string *error) override ;
44
43
45
44
private:
46
45
std::unique_ptr<RunTimeString> m_string;
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ namespace modsecurity {
26
26
namespace actions {
27
27
28
28
29
- bool SetRSC::init (std::string *error) {
30
- return true ;
31
- }
32
-
33
-
34
29
bool SetRSC::evaluate (RuleWithActions *rule, Transaction *t) {
35
30
std::string colNameExpanded (m_string->evaluate (t));
36
31
ms_dbg_a (t, 8 , " RESOURCE initiated with value: \' "
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ class SetRSC : public Action {
40
40
m_string(std::move(z)) { }
41
41
42
42
bool evaluate (RuleWithActions *rule, Transaction *transaction) override ;
43
- bool init (std::string *error) override ;
44
43
45
44
private:
46
45
std::unique_ptr<RunTimeString> m_string;
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ namespace modsecurity {
26
26
namespace actions {
27
27
28
28
29
- bool SetSID::init (std::string *error) {
30
- return true ;
31
- }
32
-
33
-
34
29
bool SetSID::evaluate (RuleWithActions *rule, Transaction *t) {
35
30
std::string colNameExpanded (m_string->evaluate (t));
36
31
ms_dbg_a (t, 8 , " Session ID initiated with value: \' "
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ class SetSID : public Action {
40
40
m_string(std::move(z)) { }
41
41
42
42
bool evaluate (RuleWithActions *rule, Transaction *transaction) override ;
43
- bool init (std::string *error) override ;
44
43
45
44
private:
46
45
std::unique_ptr<RunTimeString> m_string;
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ namespace modsecurity {
26
26
namespace actions {
27
27
28
28
29
- bool SetUID::init (std::string *error) {
30
- return true ;
31
- }
32
-
33
-
34
29
bool SetUID::evaluate (RuleWithActions *rule, Transaction *t) {
35
30
std::string colNameExpanded (m_string->evaluate (t));
36
31
ms_dbg_a (t, 8 , " User collection initiated with value: \' "
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ class SetUID : public Action {
40
40
m_string(std::move(z)) { }
41
41
42
42
bool evaluate (RuleWithActions *rule, Transaction *transaction) override ;
43
- bool init (std::string *error) override ;
44
43
45
44
private:
46
45
std::unique_ptr<RunTimeString> m_string;
Original file line number Diff line number Diff line change @@ -35,11 +35,6 @@ namespace modsecurity {
35
35
namespace actions {
36
36
37
37
38
- bool SetVar::init (std::string *error) {
39
- return true ;
40
- }
41
-
42
-
43
38
bool SetVar::evaluate (RuleWithActions *rule, Transaction *t) {
44
39
std::string targetValue;
45
40
std::string resolvedPre;
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ class SetVar : public Action {
59
59
m_variable(std::move(variable)) { }
60
60
61
61
bool evaluate (RuleWithActions *rule, Transaction *transaction) override ;
62
- bool init (std::string *error) override ;
63
62
64
63
private:
65
64
SetVarOperation m_operation;
You can’t perform that action at this time.
0 commit comments