Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/libexec/httpd Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/24c7eaf0676e
branches:  netbsd-8
changeset: 851337:24c7eaf0676e
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Feb 04 12:49:25 2018 +0000

description:
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.

diffstat:

 libexec/httpd/bozohttpd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c312d2a7e68a -r 24c7eaf0676e libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Sun Feb 04 12:46:04 2018 +0000
+++ b/libexec/httpd/bozohttpd.c Sun Feb 04 12:49:25 2018 +0000
@@ -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 @@
                    "<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,



Home | Main Index | Thread Index | Old Index