summaryrefslogtreecommitdiffstats
path: root/modules/proxy/proxy_util.c
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2007-09-09 03:13:38 +0200
committerNick Kew <niq@apache.org>2007-09-09 03:13:38 +0200
commit982a8e3feb23b8a4b46a7b7ad29ba925c758f2c6 (patch)
treed86d0af4a7e3ec13fe99f3c7af643179027dadb5 /modules/proxy/proxy_util.c
parentCheck all IP addresses listed in ProxyBlock (diff)
downloadapache2-982a8e3feb23b8a4b46a7b7ad29ba925c758f2c6.tar.xz
apache2-982a8e3feb23b8a4b46a7b7ad29ba925c758f2c6.zip
Escape error-notes correctly
PR 40952 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@573939 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy/proxy_util.c')
-rw-r--r--modules/proxy/proxy_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
index 17085ac5c5..a9434b450f 100644
--- a/modules/proxy/proxy_util.c
+++ b/modules/proxy/proxy_util.c
@@ -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"