eclipse-ee4j / eclipse-ee4j/jersey
WebComponent.filterFormParameters reports confusing warning
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
We see a lot of these warnings in our logs:
> org.glassfish.jersey.servlet.WebComponent: A servlet request to the URI https://example.com/foo?bar=baz contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected
It is a POST request with a query parameter and an empty post-body.
I don't think that any filter is consuming the request body or accessing the request parameters.
Is it possible that the warning is wrong in this case?
Contributor guide
Assessment
This issue has not been assessed yet.