mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Refactoring the cleaning of MATCHED_VAR* variables
This commit is contained in:
@@ -59,7 +59,6 @@ class RuleWithOperator : public RuleWithActions {
|
||||
|
||||
static void updateMatchedVars(Transaction *trasn, const std::string &key,
|
||||
const std::string &value);
|
||||
static void cleanMatchedVars(Transaction *trasn);
|
||||
|
||||
|
||||
const std::string& getOperatorName() const;
|
||||
|
@@ -80,6 +80,8 @@ class RulesSet : public RulesSetProperties {
|
||||
void debug(int level, const std::string &id, const std::string &uri,
|
||||
const std::string &msg);
|
||||
|
||||
static void cleanMatchedVars(Transaction *trans);
|
||||
|
||||
RulesSetPhases m_rulesSetPhases;
|
||||
private:
|
||||
#ifndef NO_LOGS
|
||||
|
Reference in New Issue
Block a user