mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 16:06:12 +03:00
Improvements in detection only
This commit is contained in:
parent
50205ebf62
commit
3377831b36
@ -481,6 +481,12 @@ static apr_status_t modsecurity_request_body_end_raw(modsec_rec *msr, char **err
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if((msr->msc_reqbody_length >= msr->txcfg->reqbody_limit) && (msr->txcfg->if_limit_action != REQUEST_BODY_LIMIT_ACTION_REJECT)) {
|
||||||
|
msr->msc_reqbody_buffer[msr->txcfg->reqbody_limit] = '\0';
|
||||||
|
msr->msc_reqbody_length = msr->txcfg->reqbody_limit;
|
||||||
|
}
|
||||||
|
|
||||||
/* Now free the memory used by the chunks. */
|
/* Now free the memory used by the chunks. */
|
||||||
|
|
||||||
chunks = (msc_data_chunk **)msr->msc_reqbody_chunks->elts;
|
chunks = (msc_data_chunk **)msr->msc_reqbody_chunks->elts;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user