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