diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:59:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:59:47 +0000 |
commit | 71e2741ce55467368c4af2b0516dbcb9b1bc938e (patch) | |
tree | 2c32cdbb161128a210b98e347f6b397a9d8745aa /modules/generators | |
parent | Adding upstream version 2.4.60. (diff) | |
download | apache2-71e2741ce55467368c4af2b0516dbcb9b1bc938e.tar.xz apache2-71e2741ce55467368c4af2b0516dbcb9b1bc938e.zip |
Adding upstream version 2.4.61.upstream/2.4.61
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_cgi.c | 2 | ||||
-rw-r--r-- | modules/generators/mod_cgid.c | 2 | ||||
-rw-r--r-- | modules/generators/mod_info.c | 2 | ||||
-rw-r--r-- | modules/generators/mod_status.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 3799b06..61d888d 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -671,7 +671,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); diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 1d55b8d..f21eb12 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -1666,7 +1666,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); diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index 1662242..a94e4e4 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -784,7 +784,7 @@ static int display_info(request_rec * r) return DECLINED; } - ap_set_content_type(r, "text/html; charset=ISO-8859-1"); + ap_set_content_type_ex(r, "text/html; charset=ISO-8859-1", 1); ap_rputs(DOCTYPE_XHTML_1_0T "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n" diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index 5bada07..2cb38c7 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -273,7 +273,7 @@ static int status_handler(request_rec *r) if (r->method_number != M_GET) return DECLINED; - ap_set_content_type(r, "text/html; charset=ISO-8859-1"); + ap_set_content_type_ex(r, "text/html; charset=ISO-8859-1", 1); /* * Simple table-driven form data set parser that lets you alter the header @@ -301,7 +301,7 @@ static int status_handler(request_rec *r) no_table_report = 1; break; case STAT_OPT_AUTO: - ap_set_content_type(r, "text/plain; charset=ISO-8859-1"); + ap_set_content_type_ex(r, "text/plain; charset=ISO-8859-1", 1); short_report = 1; break; } |