summaryrefslogtreecommitdiffstats
path: root/modules/dav
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/dav
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/dav')
-rw-r--r--modules/dav/main/mod_dav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dav/main/mod_dav.c b/modules/dav/main/mod_dav.c
index 8a56357152..a40959b9e7 100644
--- a/modules/dav/main/mod_dav.c
+++ b/modules/dav/main/mod_dav.c
@@ -314,7 +314,7 @@ static int dav_error_response(request_rec *r, int status, const char *body)
{
r->status = status;
- ap_set_content_type(r, "text/html");
+ ap_set_content_type(r, "text/html; charset=ISO-8859-1");
/* begin the response now... */
ap_rvputs(r,