X-Git-Url: https://git.tld-linux.org/?p=packages%2Fapache.git;a=blobdiff_plain;f=httpd-2.0.45-encode.patch;h=e36728d07290ad84bc84e32cf3414b9fedc334ee;hp=82d9a0b5afba3f90944c4cf7ff02cdd7be6f6fd0;hb=1801affac7121bb9bb4859fc0d083a7353ea8589;hpb=03fa0e1eac0d3851c5ae1ab08a02cc3a5ee4eb69 diff --git a/httpd-2.0.45-encode.patch b/httpd-2.0.45-encode.patch index 82d9a0b..e36728d 100644 --- a/httpd-2.0.45-encode.patch +++ b/httpd-2.0.45-encode.patch @@ -1,33 +1,13 @@ * don't HTML-escape the SERVER_NAME variable -* do escape SERVER_NAME in error docs -* remove dates from error pages (#86474), since they won't be in the right -language -diff -ur httpd-2.2.0.org/docs/error/include/bottom.html httpd-2.2.0/docs/error/include/bottom.html ---- httpd-2.2.0.org/docs/error/include/bottom.html 2004-11-20 21:16:24.000000000 +0100 -+++ httpd-2.2.0/docs/error/include/bottom.html 2005-12-02 23:04:57.540690250 +0100 -@@ -5,10 +5,8 @@ - -

Error

-
--
-- --
--
-+
-+ -
- - -diff -ur httpd-2.2.0.org/server/util_script.c httpd-2.2.0/server/util_script.c ---- httpd-2.2.0.org/server/util_script.c 2005-11-10 16:20:05.000000000 +0100 -+++ httpd-2.2.0/server/util_script.c 2005-12-02 23:04:50.848272000 +0100 -@@ -224,8 +224,7 @@ +--- httpd-2.4.1/server/util_script.c.orig 2012-02-09 16:09:00.000000000 +0100 ++++ httpd-2.4.1/server/util_script.c 2012-02-21 23:59:00.129432524 +0100 +@@ -229,8 +229,7 @@ apr_table_addn(e, "SERVER_SIGNATURE", ap_psignature("", r)); apr_table_addn(e, "SERVER_SOFTWARE", ap_get_server_banner()); - apr_table_addn(e, "SERVER_NAME", -- ap_escape_html(r->pool, ap_get_server_name(r))); +- ap_escape_html(r->pool, ap_get_server_name_for_url(r))); + apr_table_addn(e, "SERVER_NAME", ap_get_server_name(r)); apr_table_addn(e, "SERVER_ADDR", r->connection->local_ip); /* Apache */ apr_table_addn(e, "SERVER_PORT",