mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Changed compared variables of range id intervall in ruleRemoveById ctl action. #2111
* changed the variables in clause * added test case (@theMiddle) * fixes #2111
This commit is contained in:
committed by
Felipe Zimmerle
parent
9ebebfc838
commit
c0142cf326
@@ -57,7 +57,7 @@ bool RuleRemoveById::init(std::string *error) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (n1s > n2s) {
|
||||
if (n1n > n2n) {
|
||||
error->assign("Invalid range: " + b);
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user