mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-16 09:31:53 +03:00
Avoids copy on the transformation operation
This commit is contained in:
@@ -30,8 +30,10 @@ namespace transformations {
|
||||
|
||||
class NormalisePath : public Transformation {
|
||||
public:
|
||||
explicit NormalisePath(const std::string &action) ;
|
||||
std::string evaluate(std::string exp,
|
||||
|
||||
explicit NormalisePath(const std::string &action);
|
||||
|
||||
std::string evaluate(const std::string &exp,
|
||||
Transaction *transaction) override;
|
||||
|
||||
static int normalize_path_inplace(unsigned char *input, int input_len,
|
||||
|
||||
Reference in New Issue
Block a user