mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Actions refactoring: now there is a clear definiation on the action name
This commit is contained in:
@@ -29,9 +29,10 @@ namespace actions {
|
||||
|
||||
class Rev : public Action {
|
||||
public:
|
||||
explicit Rev(std::string action);
|
||||
explicit Rev(std::string action) : Action(action, ConfigurationKind) { }
|
||||
|
||||
bool evaluate(Rule *rule, Transaction *transaction) override;
|
||||
bool init(std::string *error) override;
|
||||
|
||||
private:
|
||||
std::string m_rev;
|
||||
|
Reference in New Issue
Block a user