Module Name: src
Committed By: snj
Date: Mon Feb 19 19:43:14 UTC 2018
Modified Files:
src/libexec/httpd [netbsd-7]: bozohttpd.c
Log Message:
Pull up following revision(s) (requested by maya in ticket #1564):
libexec/httpd/bozohttpd.c: 1.87
Use a protocol-agnostic URL (don't degrade HTTPS->HTTP)
Suggested by Travis Paul in PR bin/52958.
To generate a diff of this commit:
cvs rdiff -u -r1.56.2.8 -r1.56.2.9 src/libexec/httpd/bozohttpd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/httpd/bozohttpd.c
diff -u src/libexec/httpd/bozohttpd.c:1.56.2.8 src/libexec/httpd/bozohttpd.c:1.56.2.9
--- src/libexec/httpd/bozohttpd.c:1.56.2.8 Sun Feb 12 22:07:17 2017
+++ src/libexec/httpd/bozohttpd.c Mon Feb 19 19:43:14 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: bozohttpd.c,v 1.56.2.8 2017/02/12 22:07:17 snj Exp $ */
+/* $NetBSD: bozohttpd.c,v 1.56.2.9 2018/02/19 19:43:14 snj Exp $ */
/* $eterna: bozohttpd.c,v 1.178 2011/11/18 09:21:15 mrg Exp $ */
@@ -1990,7 +1990,7 @@ bozo_http_error(bozohttpd_t *httpd, int
"<html><head><title>%s</title></head>\n"
"<body><h1>%s</h1>\n"
"%s%s: <pre>%s</pre>\n"
- "<hr><address><a href=\"http://%s%s/\">%s%s</a></address>\n"
+ "<hr><address><a href=\"//%s%s/\">%s%s</a></address>\n"
"</body></html>\n",
header, header,
user ? user : "", file,