mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-18 10:20:35 +03:00
Removes method isDisruptive from Action class
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1188,7 +1188,8 @@ expression:
|
||||
int secRuleDefinedPhase = -1;
|
||||
for (actions::Action *a : *actions) {
|
||||
actions::Phase *phase = dynamic_cast<actions::Phase *>(a);
|
||||
if (a->isDisruptive() == true && dynamic_cast<actions::Block *>(a) == NULL) {
|
||||
if (dynamic_cast<actions::disruptive::ActionDisruptive *>(a) != NULL
|
||||
&& dynamic_cast<actions::Block *>(a) == NULL) {
|
||||
hasDisruptive = true;
|
||||
}
|
||||
if (phase != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user