diff options
author | Ruediger Pluem <rpluem@apache.org> | 2024-07-02 08:35:53 +0200 |
---|---|---|
committer | Ruediger Pluem <rpluem@apache.org> | 2024-07-02 08:35:53 +0200 |
commit | aa4b05ee0536fdbd62b02eaab91f31ae3a305129 (patch) | |
tree | 747a316d57cb4bda2dfcdd7b00e3ec031ea3a13f /modules/generators/mod_cgid.c | |
parent | maintain trusted flag (diff) | |
download | apache2-aa4b05ee0536fdbd62b02eaab91f31ae3a305129.tar.xz apache2-aa4b05ee0536fdbd62b02eaab91f31ae3a305129.zip |
* 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
Diffstat (limited to 'modules/generators/mod_cgid.c')
-rw-r--r-- | modules/generators/mod_cgid.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |