mod_status: Add version to status page (fixes #2219)

* the status page shouldn't be public anyway, so no reason to hide the version;
   but it makes debugging easier

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2744 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.27
Stefan Bühler 2010-07-11 17:18:59 +00:00
parent cece2fe3c6
commit f65467386f
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -21,6 +21,7 @@ NEWS
* mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions (fixes #2215)
* mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217)
* mod_accesslog: Fix var declarations mixed in source (fixes #2233)
* mod_status: Add version to status page (fixes #2219)
- 1.4.26 - 2010-02-07
* Fix request parser to handle packets with splitted \r\n\r\n (fixes #2105)

View File

@ -299,7 +299,7 @@ static handler_t mod_status_handle_server_status_html(server *srv, connection *c
/* connection listing */
buffer_append_string_len(b, CONST_STR_LEN("<h1>Server-Status</h1>"));
buffer_append_string_len(b, CONST_STR_LEN("<h1>Server-Status (" PACKAGE_NAME " " PACKAGE_VERSION ")</h1>"));
buffer_append_string_len(b, CONST_STR_LEN("<table summary=\"status\" class=\"status\">"));
buffer_append_string_len(b, CONST_STR_LEN("<tr><td>Hostname</td><td class=\"string\">"));