mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-09 07:42:25 +03:00
Add debug message when not buffering response body due to MIME type not configured. See trac #63.
This commit is contained in:
@@ -320,6 +320,8 @@ static int output_filter_should_run(modsec_rec *msr, request_rec *r) {
|
|||||||
|
|
||||||
if (apr_table_get(msr->txcfg->of_mime_types, content_type) != NULL) return 1;
|
if (apr_table_get(msr->txcfg->of_mime_types, content_type) != NULL) return 1;
|
||||||
|
|
||||||
|
msr_log(msr, 4, "Output filter: Not buffering response body for unconfigured MIME type \"%s\".", content_type);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user