Search
j0ke.net Open Build Service
>
Projects
>
ha
>
lighttpd-snapshot
> lighttpd-1.4.x_mod_status_orig_uri.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lighttpd-1.4.x_mod_status_orig_uri.patch of Package lighttpd-snapshot
Index: src/mod_status.c =================================================================== --- src/mod_status.c (revision 1863) +++ src/mod_status.c (working copy) @@ -526,6 +526,11 @@ 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);