]> granicus.if.org Git - apache/commitdiff
PR62368: Print the unparsed URI in AH03454
authorEric Covener <covener@apache.org>
Thu, 17 May 2018 12:21:15 +0000 (12:21 +0000)
committerEric Covener <covener@apache.org>
Thu, 17 May 2018 12:21:15 +0000 (12:21 +0000)
... to include r->args and get otherwise get as close to possible to
what came in over the wire.

Submitted By: Hank Ibell <hwibell gmail.com>
Committed By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1831772 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 5a778df1d7e2b0281f3980146743a2f22f299514..7c14dac31cf4ea6212f0dec0e03e661b2d78382a 100644 (file)
@@ -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");