Project

General

Profile

Actions

Feature #828

closed

additional info for server-status

Added by ethaniel over 18 years ago. Updated about 1 year ago.

Status:
Fixed
Priority:
Normal
Category:
mod_status
Target version:
-
ASK QUESTIONS IN Forums:
No

Description

It would be nice to have the QUERY_STRING in server-status.

The reason I am asking is because from time to time I get too many handle-req that halt my system. I don't use much scripts, but I use them with many parametres. So that's why I'd like to track the bugs in my code down with this.

Actions #1

Updated by Anonymous over 18 years ago

I made a small patch:

in mod_status.c I changed:

BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string uri\">");

if (!buffer_is_empty(c->uri.path)) {
buffer_append_string_encoded(b, CONST_BUF_LEN(c->uri.path), ENCODING_HTML);
}

BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string file\">");

to....

BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string uri\">");

if (!buffer_is_empty(c->uri.path)) {
buffer_append_string_encoded(b, CONST_BUF_LEN(c->uri.path), ENCODING_HTML);
}

if (!buffer_is_empty(c->uri.query)) {
BUFFER_APPEND_STRING_CONST(b,"?");
buffer_append_string_encoded(b, CONST_BUF_LEN(c->uri.query),ENCODING_HTML);
}

BUFFER_APPEND_STRING_CONST(b, "</td><td class=\"string file\">");

Actions #2

Updated by stbuehler over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to wontfix

I don't think we should have that upstream, as too many setups did not protect the status page and the QUERY_STRING may really contain sensitive information.

Actions #3

Updated by stbuehler over 16 years ago

  • Status changed from Fixed to Wontfix
Actions #4

Updated by gstrauss about 1 year ago

  • Description updated (diff)
  • Status changed from Wontfix to Fixed
  • ASK QUESTIONS IN Forums set to No

Fixed in lighttpd 1.4.25

Actions

Also available in: Atom