[MAGNOLIA-3337] Request Wrappers hide changes in upstream wrappers Created: 26/Oct/10  Updated: 20/Feb/15  Resolved: 09/Nov/10

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.3.7
Fix Version/s: 4.4

Type: Bug Priority: Major
Reporter: Tobias Mattsson Assignee: Tobias Mattsson
Resolution: Fixed Votes: 0
Labels: filter, servlet, wrapper
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MAGNOLIA-3310 UnicodeNormalizationFilter seems to b... Closed
is causing MAGNOLIA-3264 UnicodeNormalizerRequestWrapper.getPa... Closed
relation
is related to MAGNOLIA-3338 Context is not updated on include req... Closed
Template:
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   

Request wrappers that change the behavior of path info and request parameters need to be modified to expose changes in the wrappers behind them. The problem manifests itself on forward requests.

This affects ServletDispatcherFilter, UnicodeNormalizationFilter, CosMultipartRequestFilter and MultipartRequestFilter.

A suitable test case would be a module with pages that illustrate the problem by returning html containing for instance the word ERROR. An integration test suite can then access these pages and make sure that the word ERROR does not appear.

See http://wiki.magnolia-cms.com/display/DEV/How+servlet+request+wrapping+works for more details.


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