Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FORM_PARAM_CONSUMED warning #5208

Merged
merged 3 commits into from
Dec 7, 2022
Merged

Conversation

dosy4ev
Copy link
Contributor

@dosy4ev dosy4ev commented Dec 2, 2022

When request Content-type header equals to
application/x-www-form-urlencoded and request contains query params
then query params will be treated as form params. And jersey will
print a FORM_PARAM_CONSUMED warning log message.

This behavior should be configured by
jersey.config.servlet.form.queryParams.disabled property.

With this property set to true query params are not converted to form
params but due to bug FORM_PARAM_CONSUMED warning is still printed.

dosy4ev and others added 2 commits December 2, 2022 23:30
When request `Content-type` header equals to
`application/x-www-form-urlencoded` and request contains query params
then query params will be treated as form params.  And jersey will
print a FORM_PARAM_CONSUMED warning log message.

This behavior should be configured by
`jersey.config.servlet.form.queryParams.disabled` property.

With this property set to `true` query params are not converted to form
params but due to bug FORM_PARAM_CONSUMED warning is still printed.
@senivam senivam merged commit 8c731ee into eclipse-ee4j:master Dec 7, 2022
@senivam senivam added this to the 2.38 milestone Dec 7, 2022
This was referenced Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants