mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Renames class Assay to Transaction
This commit is contained in:
@@ -24,9 +24,9 @@ namespace modsecurity {
|
||||
namespace operators {
|
||||
|
||||
|
||||
bool EndsWith::evaluate(Assay *assay, const std::string &input) {
|
||||
bool EndsWith::evaluate(Transaction *transaction, const std::string &input) {
|
||||
bool ret = false;
|
||||
std::string p = MacroExpansion::expand(param, assay);
|
||||
std::string p = MacroExpansion::expand(param, transaction);
|
||||
|
||||
if (input.length() >= p.length()) {
|
||||
ret = (0 == input.compare(input.length() - p.length(),
|
||||
|
Reference in New Issue
Block a user