httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/ssl ssl_engine_kernel.c
Date Mon, 30 Jul 2001 22:30:51 GMT
wrowe       01/07/30 15:30:51

  Modified:    modules/ssl ssl_engine_kernel.c
  Log:
    More XHTML foo.
  
  Revision  Changes    Path
  1.11      +5 -5      httpd-2.0/modules/ssl/ssl_engine_kernel.c
  
  Index: ssl_engine_kernel.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_kernel.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ssl_engine_kernel.c	2001/07/25 10:23:03	1.10
  +++ ssl_engine_kernel.c	2001/07/30 22:30:51	1.11
  @@ -558,13 +558,13 @@
           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.<BR>\n"
  -                       "Instead use the HTTPS scheme to access this URL, please.<BR>\n"
  -                       "<BLOCKQUOTE>Hint: <A HREF=\"%s\"><B>%s</B></A></BLOCKQUOTE>",
  +                       "Reason: You're speaking plain HTTP to an SSL-enabled server port.<br
/>\n"
  +                       "Instead use the HTTPS scheme to access this URL, please.<br
/>\n"
  +                       "<blockquote>Hint: <a href=\"%s\"><b>%s</b></a></blockquote>",
                          thisurl, thisurl));
       }
   
  
  
  

Mime
View raw message