eclipse-ee4j / eclipse-ee4j/jersey
Response committed prematurely in case of unsuccessful calls (4xx & 5xx responses)
Open
Priority: Critical
Type: Bug
- Dominant language
- Java
- Stars
- 730
- Forks
- 382
- PR merge metrics
- No merged PRs in 30d
Description
From the tests attached it is evident that in case of unsuccessful responses, such as 404s, the response is immediately committed before it passes back through any servlet filters.
This means that if a filter is responsible for altering the response in some way, it will fail in case of erroneous responses.
#### Affected Versions
[2.22.2]
Contributor guide
Assessment
This issue has not been assessed yet.