[mod_accesslog] Fix %r (first request line) formatter
parent
0fcbfb7ab7
commit
259cdb57e3
|
@ -313,10 +313,6 @@ static GString *al_format_log(liVRequest *vr, al_data *ald, GArray *format) {
|
|||
g_string_append_len(str, GSTR_LEN(req->http_method_str));
|
||||
g_string_append_c(str, ' ');
|
||||
al_append_escaped(str, req->uri.raw_orig_path);
|
||||
if (req->uri.query->len) {
|
||||
g_string_append_c(str, '?');
|
||||
al_append_escaped(str, req->uri.query);
|
||||
}
|
||||
g_string_append_c(str, ' ');
|
||||
tmp_str = li_http_version_string(req->http_version, &len);
|
||||
g_string_append_len(str, tmp_str, len);
|
||||
|
|
Loading…
Reference in New Issue