From aa4b05ee0536fdbd62b02eaab91f31ae3a305129 Mon Sep 17 00:00:00 2001 From: Ruediger Pluem Date: Tue, 2 Jul 2024 06:35:53 +0000 Subject: * Always trust content types that we set literally git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918814 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_cgid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/generators/mod_cgid.c') diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index c3bee74809..b27dd802d8 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -1671,7 +1671,7 @@ static apr_status_t include_cgi(include_ctx_t *ctx, ap_filter_t *f, /* Force sub_req to be treated as a CGI request, even if ordinary * typing rules would have called it something else. */ - ap_set_content_type(rr, CGI_MAGIC_TYPE); + ap_set_content_type_ex(rr, CGI_MAGIC_TYPE, 1); /* Run it. */ rr_status = ap_run_sub_req(rr); -- cgit v1.2.3