ssl_send_certificate_error(): Add a doctype
authorFabian Keil <fk@fabiankeil.de>
Mon, 15 Jun 2020 08:34:14 +0000 (10:34 +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 25f86e4..860a243 100644 (file)
--- a/ssl.c
+++ b/ssl.c
@@ -2064,6 +2064,7 @@ 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"
+      "<!DOCTYPE html>\n"
       "<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 "