Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/3089aa15212c
branches:  netbsd-7
changeset: 800424:3089aa15212c
user:      snj <snj%NetBSD.org@localhost>
date:      Mon Feb 19 19:43:14 2018 +0000

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

diffstat:

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

diffs (18 lines):

diff -r 825ad6b630f3 -r 3089aa15212c libexec/httpd/bozohttpd.c
--- a/libexec/httpd/bozohttpd.c Mon Feb 19 19:41:43 2018 +0000
+++ b/libexec/httpd/bozohttpd.c Mon Feb 19 19:43:14 2018 +0000
@@ -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 @@
                    "<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