mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
AppGw WAF version that doesn't block failed body parsing in detect-only mode
This commit is contained in:
parent
2ae357be88
commit
6bb4461911
@ -1013,7 +1013,7 @@ static int hook_request_late(request_rec *r) {
|
||||
}
|
||||
|
||||
rc = read_request_body(msr, &my_error_msg);
|
||||
if (rc < 0) {
|
||||
if (rc < 0 && msr->txcfg->is_enabled == MODSEC_ENABLED) {
|
||||
switch(rc) {
|
||||
case -1 :
|
||||
if (my_error_msg != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user