mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 10:44:25 +03:00
Changes the operator evaluate method to only support two arguments
Second argument can be empty if there is not need for it.
This commit is contained in:
@@ -29,7 +29,7 @@ class Rbl : public Operator {
|
||||
public:
|
||||
/** @ingroup ModSecurity_Operator */
|
||||
Rbl(std::string o, std::string p, bool i);
|
||||
bool evaluate(Assay *assay);
|
||||
bool evaluate(Assay *assay, const std::string &str) override;
|
||||
};
|
||||
|
||||
} // namespace operators
|
||||
|
||||
Reference in New Issue
Block a user