- 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
svn/tags/lighttpd-1.4.16
Marcus Rückert 15 years ago
parent 6e332dd7bb
commit 991ebdf36f
  1. 5
      src/mod_status.c

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

Loading…
Cancel
Save