mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 18:30:35 +03:00
Makes operator to use string_view
This commit is contained in:
@@ -46,7 +46,11 @@ class ValidateDTD : public Operator {
|
||||
}
|
||||
}
|
||||
|
||||
bool evaluate(Transaction *transaction, const std::string &str) override;
|
||||
bool evaluate(Transaction *transaction,
|
||||
RuleWithActions *rule,
|
||||
const bpstd::string_view &input,
|
||||
RuleMessage *ruleMessage) override;
|
||||
|
||||
bool init(const std::string &file, std::string *error) override;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user