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
Changes with Apache 2.3.0
[ When backported to 2.2.x, remove entry from this file ]
+ *) mod_ldap: Set character set for status page to ISO-8859-1 to avoid
+ UTF-7 XSS vulnerabilities of certain browsers. [Joe Orton]
+
+ *) mod_proxy_balancer: Set character set for balancer manager to ISO-8859-1
+ to avoid UTF-7 XSS vulnerabilities of certain browsers. [Joe Orton]
+
+ *) mod_proxy_ftp: Set character set for generated FTP directory listing to
+ ISO-8859-1 to avoid UTF-7 XSS vulnerabilities of certain browsers.
+ [Joe Orton]
+
+ *) mod_info: Set character set for info page to ISO-8859-1 to avoid
+ UTF-7 XSS vulnerabilities of certain browsers. [Joe Orton]
+
+ *) mod_dav: Set character set for error pages to ISO-8859-1 to avoid
+ UTF-7 XSS vulnerabilities of certain browsers. [Joe Orton]
+
*) mod_ssl: Added server name indication support (RFC 4366).
PR 34607. [Kaspar Brand <asfbugz velox.ch>]
{
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,
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"
return DECLINED;
}
- ap_set_content_type(r, "text/html");
+ ap_set_content_type(r, "text/html; charset=ISO-8859-1");
if (r->header_only)
return OK;
ap_rputs("</httpd:manager>", r);
}
else {
- ap_set_content_type(r, "text/html");
+ ap_set_content_type(r, "text/html; charset=ISO-8859-1");
ap_rputs(DOCTYPE_HTML_3_2
"<html><head><title>Balancer Manager</title></head>\n", r);
ap_rputs("<body><h1>Load Balancer Manager for ", r);
/* set content-type */
if (dirlisting) {
- ap_set_content_type(r, "text/html");
+ ap_set_content_type(r, "text/html; charset=ISO-8859-1");
}
else {
if (r->content_type) {