mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Renames class Assay to Transaction
This commit is contained in:
@@ -24,10 +24,10 @@ namespace modsecurity {
|
||||
namespace operators {
|
||||
|
||||
|
||||
bool BeginsWith::evaluate(Assay *assay, const std::string &str) {
|
||||
bool BeginsWith::evaluate(Transaction *transaction, const std::string &str) {
|
||||
bool ret = false;
|
||||
|
||||
std::string p = MacroExpansion::expand(param, assay);
|
||||
std::string p = MacroExpansion::expand(param, transaction);
|
||||
|
||||
if (str.size() < p.size()) {
|
||||
ret = false;
|
||||
|
Reference in New Issue
Block a user