From ac232e1147720e79c7f7958dc607e0c86608d264 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 30 Jul 2001 22:30:51 +0000 Subject: [PATCH] More XHTML foo. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89805 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_kernel.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index f2b853b457..7bbf9cb0ef 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -558,13 +558,13 @@ int ssl_hook_Handler(request_rec *r) port = ap_get_server_port(r); if (!ap_is_default_port(port, r)) thisport = apr_psprintf(r->pool, ":%u", port); - thisurl = apr_psprintf(r->pool, "https://%s%s/", - ap_get_server_name(r), thisport); + thisurl = ap_escape_html(r->pool, apr_psprintf(r->pool, "https://%s%s/", + ap_get_server_name(r), thisport)); apr_table_setn(r->notes, "error-notes", apr_psprintf(r->pool, - "Reason: You're speaking plain HTTP to an SSL-enabled server port.
\n" - "Instead use the HTTPS scheme to access this URL, please.
\n" - "
Hint: %s
", + "Reason: You're speaking plain HTTP to an SSL-enabled server port.
\n" + "Instead use the HTTPS scheme to access this URL, please.
\n" + "
Hint: %s
", thisurl, thisurl)); }