]> granicus.if.org Git - apache/commitdiff
Escape error-notes correctly
authorNick Kew <niq@apache.org>
Sun, 9 Sep 2007 01:13:38 +0000 (01:13 +0000)
committerNick Kew <niq@apache.org>
Sun, 9 Sep 2007 01:13:38 +0000 (01:13 +0000)
PR 40952

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573939 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/proxy/proxy_util.c

diff --git a/CHANGES b/CHANGES
index 7c1a1d0f0c1cfba5b912e6b43673b48014def46c..8f41c840e14a221285230d1498c86a646a7d21d0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 Changes with Apache 2.3.0
 [ When backported to 2.2.x, remove entry from this file ]
 
+  *) mod_proxy: escape error-notes correctly
+     PR 40952 [Thijs Kinkhorst <thijs debian.org>]
+
   *) mod_proxy: check ProxyBlock for all blocked addresses
      PR 36987 [Timo Viipuri <timo.viipuri f-secure.com>]
 
index 17085ac5c50e94c91224c56dde2732c5b7c4cd13..a9434b450f37ee3b66f48e32ecfbc63e3c6e50d1 100644 (file)
@@ -494,7 +494,7 @@ PROXY_DECLARE(int) ap_proxyerror(request_rec *r, int statuscode, const char *mes
     apr_table_setn(r->notes, "error-notes",
     apr_pstrcat(r->pool,
         "The proxy server could not handle the request "
-        "<em><a href=\"", ap_escape_uri(r->pool, r->uri),
+        "<em><a href=\"", ap_escape_html(r->pool, r->uri),
         "\">", ap_escape_html(r->pool, r->method),
         "&nbsp;",
         ap_escape_html(r->pool, r->uri), "</a></em>.<p>\n"