mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Request process partial under detectiononly
This commit is contained in:
@@ -1558,6 +1558,7 @@ static const char *cmd_rule_engine(cmd_parms *cmd, void *_dcfg, const char *p1)
|
||||
if (strcasecmp(p1, "detectiononly") == 0) {
|
||||
dcfg->is_enabled = MODSEC_DETECTION_ONLY;
|
||||
dcfg->of_limit_action = RESPONSE_BODY_LIMIT_ACTION_PARTIAL;
|
||||
dcfg->if_limit_action = REQUEST_BODY_LIMIT_ACTION_PARTIAL;
|
||||
} else
|
||||
return apr_psprintf(cmd->pool, "ModSecurity: Invalid value for SecRuleEngine: %s", p1);
|
||||
|
||||
|
Reference in New Issue
Block a user