You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java version - openjdk version "11.0.11" 2021-04-20
OS - Ubuntu 18.04
Hello!
We spotted in our production access logs some malicious requests that resulted in 200 response code. Further investigation showed that actual HTTP response code is 400, but for some reason 200 OK apprears in access logs.
Switch to using Jetty's CustomRequestLog with a Slf4jRequestLogWriter and you'll have a tweakable request log being written to the logback (core) framework.
Jetty version - 9.4.46.v20220331
Java version - openjdk version "11.0.11" 2021-04-20
OS - Ubuntu 18.04
Hello!
We spotted in our production access logs some malicious requests that resulted in 200 response code. Further investigation showed that actual HTTP response code is 400, but for some reason 200 OK apprears in access logs.
I created a small project to reproduce, see https://github.com/baranchikovaleks/jettyAccessLog
The request I send is
As I can see, using CURL I got 400 Bad request, while access logs says
The text was updated successfully, but these errors were encountered: