Hello all,

We run an application that embeds Jetty 9.4.19. Upon receiving a malformed request where the Host header has been deliberately set to 127.0.0.1 (and therefore does not match the request URL) our server responds with:

HTTP ERROR 400

Problem accessing /. Reason:

Host does not match SNI

Caused by:

<stacktrace>

During a pen-test that was done by one of our customers this was deemed too much internal information. What is the most easy way to configure the error info that we return upon such requests?

Thanks in advance,

Kind regards,

Silvio

_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Reply via email to