mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 18:30:35 +03:00
Fix actions: returning string copy after evaluation
This commit is contained in:
@@ -36,7 +36,7 @@ TrimRight::TrimRight(std::string action)
|
||||
this->action_kind = 1;
|
||||
}
|
||||
|
||||
std::string& TrimRight::evaluate(std::string value,
|
||||
std::string TrimRight::evaluate(std::string value,
|
||||
Assay *assay) {
|
||||
return *this->trim(&value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user