mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 02:10:36 +03:00
Adds support for trim, left and right trim
This commit is contained in:
@@ -40,7 +40,7 @@ TrimLeft::TrimLeft(std::string action)
|
||||
|
||||
std::string TrimLeft::evaluate(std::string value,
|
||||
Assay *assay) {
|
||||
return *trim(&value);
|
||||
return *ltrim(&value);
|
||||
}
|
||||
|
||||
} // namespace transformations
|
||||
|
||||
Reference in New Issue
Block a user