MODSEC-21

This commit is contained in:
brenosilva
2011-01-14 16:22:15 +00:00
parent fdded33831
commit d0e2546f9b
2 changed files with 27 additions and 3 deletions

View File

@@ -524,7 +524,9 @@ apr_status_t modsecurity_request_body_end(modsec_rec *msr, char **error_msg) {
*error_msg = apr_psprintf(msr->mp, "Multipart parsing error: %s", my_error_msg);
msr->msc_reqbody_error = 1;
msr->msc_reqbody_error_msg = *error_msg;
msr_log(msr, 2, "%s", *error_msg);
if (msr->txcfg->debuglog_level >= 4) {
msr_log(msr, 4, "%s", *error_msg);
}
return -1;
}