[MAGNOLIA-4823] Range-Filter does not send response content after HEAD-Request Created: 07/Feb/13  Updated: 22/Feb/13  Resolved: 20/Feb/13

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.4.8, 4.4.9, 4.5.7, 5.0
Fix Version/s: 4.5.8, 5.0

Type: Bug Priority: Major
Reporter: Markus Jeni Assignee: Jaroslav Simak
Resolution: Fixed Votes: 0
Labels: filter, range
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Patch included:
Yes
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

There is a bug in RangeSupportFilter.

After a HEAD request with a range header, no response data is delivered any more for all following GET/POST requests.

To fix this add the following line in RangeSupportFilter::doFilter() after "isRangedRequest = request.getHeader("Range") != null;"

isServeContent = true; // reset flag


Generated at Mon Feb 12 03:59:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.