From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 12 Jun 2020 13:08:45 +0000 (+0200)
Subject: ssl_send_certificate_error(): Add a page title
X-Git-Tag: v_3_0_29~275
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/@default-cgi@/diff?a=commitdiff_plain;h=cf6dd8c8f756f528e4eb4cfebea0d47854f1cec0;p=privoxy.git

ssl_send_certificate_error(): Add a page title

Sponsored by: Robert Klemme
---

diff --git a/ssl.c b/ssl.c
index 3e2d8a53..25f86e4e 100644
--- a/ssl.c
+++ b/ssl.c
@@ -2064,7 +2064,8 @@ extern void ssl_send_certificate_error(struct client_state *csp)
       "HTTP/1.1 200 OK\r\n"
       "Content-Type: text/html\r\n"
       "Connection: close\r\n\r\n"
-      "<html><body><h1>Server certificate verification failed</h1>"
+      "<html><head><title>Server certificate verification failed</title></head>\n"
+      "<body><h1>Server certificate verification failed</h1>\n"
       "<p><a href=\"https://" CGI_SITE_2_HOST "/\">Privoxy</a> was unable "
       "to securely connnect to the destination server.</p>"
       "<p>Reason: ";