[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: |
|
||||||||||||||||||||
| 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. |