[MGNLREST-54] REST request with valid accept header "application/xhtml+xml" returns IllegalArgumentException Created: 13/Mar/14 Updated: 08/Jul/14 Resolved: 01/Jul/14 |
|
| Status: | Closed |
| Project: | Magnolia REST Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Johannes Selig | Assignee: | Philip Mundt |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| 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 |
|
After updating Magnolia to v5.2.2, calls to the rest interface including accept header with "+" - e.g. "application/xhtml+xml" - in between failed. Problem seems to be in UnicodeNormalizationRequestWrapper which url-decodes the request header and replaces characters. See attached stacktrace.txt for more information. |
| Comments |
| Comment by Philip Mundt [ 18/Mar/14 ] |
|
Hi! Thanks for reporting this issue. Regards |
| Comment by Philip Mundt [ 01/Jul/14 ] |
|
Resolved by setting magnoliaVersion to 5.2.6-SNAPSHOT (which contains fix for UnicodeNormalizationRequestWrapper, see |
| Comment by Philip Mundt [ 02/Jul/14 ] |
|
For QA: Attaching a TestEnpoint (TestEndpoint.patch
|