diff --git a/apache2/apache2_io.c b/apache2/apache2_io.c index 72d05141..b1ea0d27 100644 --- a/apache2/apache2_io.c +++ b/apache2/apache2_io.c @@ -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; + msr_log(msr, 4, "Output filter: Not buffering response body for unconfigured MIME type \"%s\".", content_type); + return 0; }