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-c4023f1b3aa9
svn/tags/lighttpd-1.4.2
Jan Kneschke 2005-08-15 09:51:17 +00:00
parent 7e71b5c880
commit 9d5d48548f
1 changed files with 1 additions and 2 deletions

View File

@ -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;