AppGw WAF version that doesn't block failed body parsing in detect-only mode

This commit is contained in:
Allan Boll 2018-05-23 19:21:25 -07:00 committed by Felipe Zimmerle
parent 2ae357be88
commit 6bb4461911
No known key found for this signature in database
GPG Key ID: E6DFB08CE8B11277

View File

@ -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) {