use the 'len' parameter for html-encoding
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@539 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.2
parent
7e71b5c880
commit
9d5d48548f
|
@ -510,7 +510,7 @@ static handler_t mod_status_handle_server_status_html(server *srv, connection *c
|
|||
|
||||
BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string\">");
|
||||
|
||||
buffer_append_string_html_encoded(b, c->uri.path->ptr);
|
||||
buffer_append_string_html_encoded(b, CONST_BUF_LEN(c->uri.path));
|
||||
|
||||
BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string\">");
|
||||
|
||||
|
@ -642,7 +642,6 @@ static handler_t mod_status_handle_server_config(server *srv, connection *con, v
|
|||
}
|
||||
|
||||
mod_status_header_append(b, "Config-File-Settings");
|
||||
mod_status_row_append(b, "Directory Listings", con->conf.dir_listing ? "enabled" : "disabled");
|
||||
|
||||
for (i = 0; i < srv->plugins.used; i++) {
|
||||
plugin **ps = srv->plugins.ptr;
|
||||
|
|
Loading…
Reference in New Issue