-
Bug
-
Resolution: Done
-
Major
-
7.2.4.GA
-
-
-
-
-
-
+
-
Workaround Exists
-
-
When a servlet request is forward to a different path with a new query string, ServletRequestLineAttribute (%r) does not output a query string of the original request in the access log.
For example, when the following dispatcher.forward() is implemented in the application:
RequestDispatcher dispatcher = request.getRequestDispatcher("/test?foo=bar");
dispatcher.forward(request, response);
and the following request is sent to the above code:
$ curl -v http://localhost:8080/example/?aaa=bbb
The access-log should output the original query string (?aaa=bbb), but it output the new query string (?foo=bar) of the forwarded request:
127.0.0.1 - - [10/Oct/2019:20:20:54 +0900] "GET /example/?foo=bar HTTP/1.1" 200 68
- clones
-
JBEAP-17925 [GSS](7.3.z) UNDERTOW-1599 - access-log does not output the original query string after the servlet request is forwarded with new query strings
- Closed
- is incorporated by
-
JBEAP-17773 [GSS](7.2.z) Upgrade Undertow from 2.0.26.SP3-redhat-00001 to 2.0.28.SP1
- Closed
- is related to
-
UNDERTOW-1599 ServletRequestLineAttribute does not output the original query string after the request is forwarded with new query strings
- Resolved
- links to