mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds REQUEST_FULL and REQUEST_FULL_LENGTH variables
This variable is a combination from REQUEST_LINE, REQUEST_HEADERS and REQUEST_BODY (if any). Expects for \n\n in between each of those values.
This commit is contained in:
@@ -261,6 +261,12 @@ static apr_status_t modsecurity_tx_cleanup(void *data) {
|
||||
msr_log(msr, 1, "%s", my_error_msg);
|
||||
}
|
||||
|
||||
if (msr->msc_full_request_length > 0 &&
|
||||
msr->msc_full_request_buffer != NULL) {
|
||||
msr->msc_full_request_length = 0;
|
||||
free(msr->msc_full_request_buffer);
|
||||
}
|
||||
|
||||
#if defined(WITH_LUA)
|
||||
#ifdef CACHE_LUA
|
||||
if(msr->L != NULL) lua_close(msr->L);
|
||||
|
Reference in New Issue
Block a user