Replies: 3 comments
-
Apologies if I filed the ticket in the wrong place. It does seems to affect both, at least I tried it against both the resteasy and resteasy reactive dependencies in a test quarkus app and it seemed to fail in the same way. The stack trace for the non-reactive library is below.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this might already be fixed by #34874 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Looks like someone I discussed the bug with raised a different ticket elsewhere. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When processing the
Accept
header the library checks that the value is in the correct format. In particular it checks if there is a/
character and if not it appears that the code will only allow an*
.The issue is that if the value does not meet that criteria an
IllegalArgumentException
is thrown and is not caught anywhere meaning that the endpoint returns a 500 error. I would assume that a 4xx code, specifically a 406 would be more appropriate. An example of the stack trace received is show below.I'd be happy to have a look at this but wanted to check that this behaviour wasn't on purpose and required for some reason.
Beta Was this translation helpful? Give feedback.
All reactions