[MAGNOLIA-5833] In ContentTypeFilter do not decode twice the uri Created: 16/Jul/14 Updated: 17/Jul/14 Resolved: 16/Jul/14 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 5.2 |
| Fix Version/s: | 5.2.6, 5.3.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Eric Hechinger | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| 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 |
|
in info.magnolia.cms.filters.ContentTypeFilter line 98
String requestURI = URI.create(ServletUtil.getRequestUri(request)).normalize().getPath();
aggregationState.setCurrentURI(URLDecoder.decode(requestURI, characterEncoding));
the requestURI is decoded twice and this generate error in case of % in the URI:
|