Closed
Description
Describe the bug
Using vertx-http and quarkus-resteasy, if an exception is thrown in a JAX-RS endpoint and no ExceptionMapper catches it gets forwarded to QuarkusErrorHandler.
In case of application/json
Accept header, the stack does not get properly escaped there.
More specifically, produces a JSON with a string including unencoded tab characters.
Environment:
- Quarkus
1.9.2.Final
Additional info
The same exact issue existed in Undertow QuarkusErrorServlet implementation
see: #9463
The fix to apply here is very similar to undertow fix
Activity
gsmet commentedon Dec 3, 2020
@pismy would you like to prepare a PR?
pismy commentedon Dec 4, 2020
Sure