Module Name: src Committed By: martin Date: Sun Feb 4 12:49:25 UTC 2018
Modified Files: src/libexec/httpd [netbsd-8]: bozohttpd.c Log Message: Pull up following revision(s) (requested by maya in ticket #522): libexec/httpd/bozohttpd.c: revision 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.86 -r1.86.4.1 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.86 src/libexec/httpd/bozohttpd.c:1.86.4.1 --- src/libexec/httpd/bozohttpd.c:1.86 Sun Feb 5 01:55:03 2017 +++ src/libexec/httpd/bozohttpd.c Sun Feb 4 12:49:25 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: bozohttpd.c,v 1.86 2017/02/05 01:55:03 mrg Exp $ */ +/* $NetBSD: bozohttpd.c,v 1.86.4.1 2018/02/04 12:49:25 martin 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,