From: William A. Rowe Jr Date: Mon, 30 Jul 2001 22:30:51 +0000 (+0000) Subject: More XHTML foo. X-Git-Tag: 2.0.23~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac232e1147720e79c7f7958dc607e0c86608d264;p=thirdparty%2Fapache%2Fhttpd.git More XHTML foo. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89805 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index f2b853b457d..7bbf9cb0ef4 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)); }