mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Changes the default operator to be @rx not @pm
For some reason the default operator was @pm, which was a huge mistake. The default operator is @rx, thanks for Sanders who have noticed that.
This commit is contained in:
parent
ea4cd53221
commit
a63aa50f1b
@ -332,7 +332,7 @@ expression:
|
||||
| DIRECTIVE SPACE variables SPACE FREE_TEXT SPACE QUOTATION_MARK actions SPACE QUOTATION_MARK
|
||||
| DIRECTIVE SPACE variables SPACE FREE_TEXT SPACE QUOTATION_MARK actions QUOTATION_MARK
|
||||
{
|
||||
Operator *op = Operator::instantiate("@pm " + $5);
|
||||
Operator *op = Operator::instantiate("@rx " + $5);
|
||||
const char *error = NULL;
|
||||
if (op->init(&error) == false) {
|
||||
driver.parserError << error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user