mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Adds support to the TX collection and setvar action
This commit is contained in:
@@ -35,11 +35,17 @@ class Action {
|
||||
explicit Action(const std::string& _action)
|
||||
: action_kind(2),
|
||||
action(_action),
|
||||
temporaryAction(false) { }
|
||||
name(_action),
|
||||
temporaryAction(false) {
|
||||
name.erase(0, 2);
|
||||
}
|
||||
explicit Action(const std::string& _action, int kind)
|
||||
: action_kind(kind),
|
||||
action(_action),
|
||||
temporaryAction(false) { }
|
||||
name(_action),
|
||||
temporaryAction(false) {
|
||||
name.erase(0, 2);
|
||||
}
|
||||
|
||||
virtual ~Action() { }
|
||||
/**
|
||||
|
Reference in New Issue
Block a user