]> git.pld-linux.org Git - packages/lighttpd.git/blame - lighttpd-branding.patch
- do not by default forbid download of .pl (and .fcgi) scripts
[packages/lighttpd.git] / lighttpd-branding.patch
CommitLineData
0107e3d6
ER
1--- lighttpd-1.4.19/src/response.c~ 2008-04-10 21:33:53.255875588 +0300
2+++ lighttpd-1.4.19/src/response.c 2008-04-10 21:34:21.149289502 +0300
3@@ -100,7 +100,7 @@
cbffb2dd
ER
4
5 if (!have_server) {
6 if (buffer_is_empty(con->conf.server_tag)) {
7- BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION);
8+ BUFFER_APPEND_STRING_CONST(b, "\r\nServer: " PACKAGE_NAME "/" PACKAGE_VERSION " (PLD Linux)");
0107e3d6 9 } else if (con->conf.server_tag->used > 1) {
cbffb2dd
ER
10 BUFFER_APPEND_STRING_CONST(b, "\r\nServer: ");
11 buffer_append_string_encoded(b, CONST_BUF_LEN(con->conf.server_tag), ENCODING_HTTP_HEADER);
This page took 0.023349 seconds and 4 git commands to generate.