mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 02:10:36 +03:00
Makes operator to use string_view
This commit is contained in:
@@ -23,7 +23,10 @@ namespace modsecurity {
|
||||
namespace operators {
|
||||
|
||||
|
||||
bool GsbLookup::evaluate(Transaction *transaction, const std::string &str) {
|
||||
bool GsbLookup::evaluate(Transaction *transaction,
|
||||
RuleWithActions *rule,
|
||||
const bpstd::string_view &str,
|
||||
RuleMessage *ruleMessage) {
|
||||
/**
|
||||
* @todo Implement the operator GeoLookup.
|
||||
* Reference: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#gsblookup
|
||||
|
||||
Reference in New Issue
Block a user