mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 19:47:47 +03:00
Adds support to macro expansion in setvar action
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "modsecurity/modsecurity.h"
|
||||
#include "modsecurity/assay.h"
|
||||
|
||||
#ifndef SRC_MACRO_EXPANSION_H_
|
||||
#define SRC_MACRO_EXPANSION_H_
|
||||
@@ -29,6 +30,8 @@ namespace ModSecurity {
|
||||
class MacroExpansion {
|
||||
public:
|
||||
MacroExpansion();
|
||||
|
||||
static std::string expand(const std::string& input, Assay *assay);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user