- add the orig_uri to the uri column in mod_status.

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1864 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Marcus Rückert 2007-05-25 14:23:46 +00:00
parent 6e332dd7bb
commit 991ebdf36f
1 changed files with 5 additions and 0 deletions

View File

@ -526,6 +526,11 @@ static handler_t mod_status_handle_server_status_html(server *srv, connection *c
buffer_append_string_encoded(b, CONST_BUF_LEN(c->uri.query), ENCODING_HTML);
}
if (!buffer_is_empty(c->request.orig_uri)) {
BUFFER_APPEND_STRING_CONST(b, " (");
buffer_append_string_encoded(b, CONST_BUF_LEN(c->request.orig_uri), ENCODING_HTML);
BUFFER_APPEND_STRING_CONST(b, ")");
}
BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string\">");
buffer_append_string_buffer(b, c->physical.path);