mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Fix issue in detection only
This commit is contained in:
parent
2a8c8a7475
commit
ed06ed2aec
@ -735,7 +735,7 @@ static int hook_request_late(request_rec *r) {
|
||||
"configured limit (%ld).", msr->txcfg->reqbody_limit);
|
||||
msr->inbound_error = 1;
|
||||
|
||||
if(msr->txcfg->if_limit_action == RESPONSE_BODY_LIMIT_ACTION_REJECT)
|
||||
if(msr->txcfg->if_limit_action == REQUEST_BODY_LIMIT_ACTION_REJECT)
|
||||
return HTTP_REQUEST_ENTITY_TOO_LARGE;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user