Hi,
On Mon, Aug 7, 2023 at 12:16 PM Silvio Bierman via jetty-users
wrote:
>
> Hi,
>
> I run embedded Jetty 11.0.13. I have a single servlet instance and call
> ServletContextHandler#setErrorHandler(customHandler) during initialization.
> But whenever an invalid URL (like one containing empty
Hello Simone,
Thank you for the reply. We do not want to change the compliance, the
error flagging is correct and desired. It is just that some potential
user doing a pen-test on our system is objecting to the messages being
generated. The SNI message contains "Caused by:
Hi,
I run embedded Jetty 11.0.13. I have a single servlet instance and call
ServletContextHandler#setErrorHandler(customHandler) during
initialization. But whenever an invalid URL (like one containing empty
segments) the handle method of the custom errorhandler is not called.
Instead the
You can write your own custom ErrorHandler for these kinds of errors, but
it has to be associated with the Server, not a ServletContextHandler.
Remember, there is no Request object.
Using the Server.setErrorHandler(ErrorHandler) is sufficient to set your
custom error handler.
Note that you will
Thanks!
Digging in,
The Eclipse download link in the email is broken.
Wrong: https://eclipse.dev/jetty/download/
Correct: https://eclipse.dev/jetty/download.php
The zip hashes there are labeled mp5, but match md5sum. It seems mp5 may
be a gaming thing.
The BadMessageException that occurs during HTTP parsing (before there is a
Request object) is handled by ErrorHandler.badMessageError()
See
https://github.com/eclipse/jetty.project/blob/jetty-11.0.15/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ErrorHandler.java#L527
That sets the
Hi,
On Mon, Aug 7, 2023 at 4:49 PM Silvio Bierman
wrote:
>
> Hello Simone,
>
> Thank you for the reply. We do not want to change the compliance, the
> error flagging is correct and desired. It is just that some potential
> user doing a pen-test on our system is objecting to the messages being
>
Hello!
The Jetty team is happy to announce the immediate availability of Eclipse
Jetty 12.0.0
This release includes a major change to the structure of Jetty.
- *Jetty Core*
This Jetty Server / Jetty Client core, and is now 100% free from any
specific Jakarta EE technology (such as