1 * don't HTML-escape the SERVER_NAME variable
3 --- httpd-2.4.1/server/util_script.c.orig 2012-02-09 16:09:00.000000000 +0100
4 +++ httpd-2.4.1/server/util_script.c 2012-02-21 23:59:00.129432524 +0100
7 apr_table_addn(e, "SERVER_SIGNATURE", ap_psignature("", r));
8 apr_table_addn(e, "SERVER_SOFTWARE", ap_get_server_banner());
9 - apr_table_addn(e, "SERVER_NAME",
10 - ap_escape_html(r->pool, ap_get_server_name_for_url(r)));
11 + apr_table_addn(e, "SERVER_NAME", ap_get_server_name(r));
12 apr_table_addn(e, "SERVER_ADDR", r->connection->local_ip); /* Apache */
13 apr_table_addn(e, "SERVER_PORT",
14 apr_psprintf(r->pool, "%u", ap_get_server_port(r)));