We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty version(s) 12.0.14
Jetty Environment ee10
Java version/vendor (use: java -version) 23
(use: java -version)
OS type/version
Description Javadoc says:
%q The query string, prepended with a ? if a query string exists, otherwise an empty string.
Meanwhile the code is:
private static void logQueryString(StringBuilder b, Request request, Response response) { append(b, "?" + request.getHttpURI().getQuery()); }
Append is unconditional which renders empty query string as ?null
?null
How to reproduce?
The text was updated successfully, but these errors were encountered:
I wonder if this should produce just a - if there is no query string?
-
Sorry, something went wrong.
PR #12482 - fix bug with CustomRequestLog query string
9bec2e6
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Merge pull request #12483 from jetty/jetty-12.0.x-12482-CustomRequest…
4abbb31
…LogQuery PR #12482 - fix bug with CustomRequestLog query string
lachlan-roberts
Successfully merging a pull request may close this issue.
Jetty version(s)
12.0.14
Jetty Environment
ee10
Java version/vendor
(use: java -version)
23
OS type/version
Description
Javadoc says:
Meanwhile the code is:
Append is unconditional which renders empty query string as
?null
How to reproduce?
The text was updated successfully, but these errors were encountered: