mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 09:55:28 +03:00
Fix actions: returning string copy after evaluation
This commit is contained in:
@@ -35,13 +35,14 @@ CompressWhitespace::CompressWhitespace(std::string action)
|
||||
this->action_kind = 1;
|
||||
}
|
||||
|
||||
std::string& CompressWhitespace::evaluate(std::string value,
|
||||
std::string CompressWhitespace::evaluate(std::string value,
|
||||
Assay *assay) {
|
||||
/**
|
||||
* @todo Implement the transformation CompressWhitespace
|
||||
*/
|
||||
assay->debug(4, "Transformation CompressWhitespace is " \
|
||||
"not implemented yet.");
|
||||
return value;
|
||||
}
|
||||
|
||||
} // namespace transformations
|
||||
|
||||
Reference in New Issue
Block a user