summaryrefslogtreecommitdiffstats
path: root/modules/generators
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2007-12-24 12:45:22 +0100
committerRuediger Pluem <rpluem@apache.org>2007-12-24 12:45:22 +0100
commitb514669c7a6fac30d166fa392d7ab803fae2bca8 (patch)
tree4a25aa21cf1981a33f03448170bef11177e6b20d /modules/generators
parentSolve service status handle leak on multi-service ApacheMonitor (diff)
downloadapache2-b514669c7a6fac30d166fa392d7ab803fae2bca8.tar.xz
apache2-b514669c7a6fac30d166fa392d7ab803fae2bca8.zip
* Set character set for HTML outputs generated by mod_ldap,
mod_proxy_balancer, mod_proxy_ftp, mod_info, mod_dav without a character set to ISO-8859-1. Submitted by: jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@606693 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r--modules/generators/mod_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c
index 37461fdd22..18f415b3b5 100644
--- a/modules/generators/mod_info.c
+++ b/modules/generators/mod_info.c
@@ -608,7 +608,7 @@ static int display_info(request_rec * r)
if (r->method_number != M_GET)
return DECLINED;
- ap_set_content_type(r, "text/html");
+ ap_set_content_type(r, "text/html; charset=ISO-8859-1");
ap_rputs(DOCTYPE_XHTML_1_0T
"<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"