diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 08:41:09 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-22 08:41:09 +0000 |
commit | f90c15a50a5cefedf36bd7c043d5069b3652c092 (patch) | |
tree | d497bdbbaffcb5c6187e79913f7a95808676ada8 /community/thttpd/discreet.patch | |
parent | 53a4f790089c6699afc42a41e31ea685f1699b18 (diff) | |
download | aports-f90c15a50a5cefedf36bd7c043d5069b3652c092.tar.bz2 aports-f90c15a50a5cefedf36bd7c043d5069b3652c092.tar.xz |
community/thttpd: moved from testing
Diffstat (limited to 'community/thttpd/discreet.patch')
-rw-r--r-- | community/thttpd/discreet.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/thttpd/discreet.patch b/community/thttpd/discreet.patch new file mode 100644 index 0000000000..b427ecc2cb --- /dev/null +++ b/community/thttpd/discreet.patch @@ -0,0 +1,34 @@ +diff -Naur old/libhttpd.c new/libhttpd.c +--- old/libhttpd.c 2012-04-27 14:24:50.971711600 +0200 ++++ new/libhttpd.c 2012-04-27 14:33:24.559135581 +0200 +@@ -744,7 +744,7 @@ + (void) my_snprintf( buf, sizeof(buf), "\ + <HTML>\n\ + <HEAD><TITLE>%d %s</TITLE></HEAD>\n\ +-<BODY BGCOLOR=\"#cc9999\" TEXT=\"#000000\" LINK=\"#2020ff\" VLINK=\"#4040cc\">\n\ ++<BODY>\n\ + <H2>%d %s</H2>\n", + status, title, status, title ); + add_response( hc, buf ); +@@ -769,11 +769,8 @@ + char buf[1000]; + + (void) my_snprintf( buf, sizeof(buf), "\ +-<HR>\n\ +-<ADDRESS><A HREF=\"%s\">%s</A></ADDRESS>\n\ + </BODY>\n\ +-</HTML>\n", +- SERVER_ADDRESS, EXPOSED_SERVER_SOFTWARE ); ++</HTML>\n" ); + add_response( hc, buf ); + } + +@@ -2766,7 +2763,7 @@ + (void) fprintf( fp, "\ + <HTML>\n\ + <HEAD><TITLE>Index of %.80s</TITLE></HEAD>\n\ +-<BODY BGCOLOR=\"#99cc99\" TEXT=\"#000000\" LINK=\"#2020ff\" VLINK=\"#4040cc\">\n\ ++<BODY>\n\ + <H2>Index of %.80s</H2>\n\ + <PRE>\n\ + mode links bytes last-changed name\n\ |