mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 17:41:52 +03:00
Refactoring: Makes transformations to work with new execute signature
This commit is contained in:
@@ -30,10 +30,12 @@ namespace transformations {
|
||||
|
||||
class NormalisePath : public Transformation {
|
||||
public:
|
||||
explicit NormalisePath(const std::string &action);
|
||||
explicit NormalisePath(const std::string &action)
|
||||
: Transformation(action) { };
|
||||
|
||||
std::string execute(const std::string &exp,
|
||||
Transaction *transaction) override;
|
||||
void execute(Transaction *t,
|
||||
ModSecStackString &in,
|
||||
ModSecStackString &out) override;
|
||||
|
||||
static int normalize_path_inplace(unsigned char *input, int input_len,
|
||||
int win, int *changed);
|
||||
|
||||
Reference in New Issue
Block a user