ssl_send_certificate_error(): Add a page title
authorFabian Keil <fk@fabiankeil.de>
Fri, 12 Jun 2020 13:08:45 +0000 (15:08 +0200)
committerFabian Keil <fk@fabiankeil.de>
Mon, 15 Jun 2020 08:43:22 +0000 (10:43 +0200)
Sponsored by: Robert Klemme

ssl.c

diff --git a/ssl.c b/ssl.c
index 3e2d8a5..25f86e4 100644 (file)
--- 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"
       "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: ";
       "<p><a href=\"https://" CGI_SITE_2_HOST "/\">Privoxy</a> was unable "
       "to securely connnect to the destination server.</p>"
       "<p>Reason: ";