[MAGNOLIA-4540] Manipulated URLs resolves in 500 error page with a decode error stack trace Created: 20/Sep/12 Updated: 19/Dec/16 |
|
| Status: | Open |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.5.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Frank Sommer | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | maintenance, quickwin | ||
| 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
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
The url decoding in info.magnolia.cms.filters.ContentTypeFilter should be more robust. http://demoauthor.magnolia-cms.com/demo-project.html?454%%4 |
| Comments |
| Comment by Markus Grieder [ 29/Dec/13 ] |
|
Since MAGNOLIA-5465 ContentTypeFilter tries to decode an already decoded URI, which is leading to this problem (verified for Version 5.2.1): URI#getPath is already decoded, but on the next line URLDecoder is trying to decode the requestURI-string again. |