You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Oliver Lietz <ap...@oliverlietz.de> on 2022/09/08 13:13:06 UTC
Incompatible change in Jetty 9.4.21/Felix Http Jetty 4.0.16 regarding status messages
Hi,
When upgrading Commons Crypto to latest Testing PaxExam snapshot some ITs
failed where the status messages of HTTP responses are checked.
There is an incompatible change in Jetty 9.4.21 (Felix Http Jetty 4.0.16):
When using HttpServletResponse#sendError(int sc, String msg) the msg parameter
is no longer used as status message but the default is used, e.g. "Not Found"
for 404.
The above method is used in several classes and at least Servlet Helpers needs
to be adjusted.
Regards,
O.