From: Eric Covener Date: Thu, 17 May 2018 12:21:15 +0000 (+0000) Subject: PR62368: Print the unparsed URI in AH03454 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a52d4eed5fca9d20dad9f338ccaf08a0020f35b;p=apache PR62368: Print the unparsed URI in AH03454 ... to include r->args and get otherwise get as close to possible to what came in over the wire. Submitted By: Hank Ibell Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1831772 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index 5a778df1d7..7c14dac31c 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -925,7 +925,7 @@ rrl_done: else if (deferred_error == rrl_baduri) ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(03454) "HTTP Request Line; URI incorrectly encoded: '%.*s'", - field_name_len(r->uri), r->uri); + field_name_len(r->unparsed_uri), r->unparsed_uri); else if (deferred_error == rrl_badwhitespace) ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(03447) "HTTP Request Line; Invalid whitespace");