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