[MGNLDAM-788] Special characters in Zip-Upload are not stored correctly Created: 16/Apr/19 Updated: 02/Dec/19 Resolved: 25/Jul/19 |
|
| Status: | Closed |
| Project: | Magnolia DAM Module |
| Component/s: | None |
| Affects Version/s: | 2.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Kathrin Kaufleitner | Assignee: | Unassigned |
| Resolution: | Done | 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 |
|
Tested in Magnolia Demo itself with the attached zip. 1. spaces of the new folder name are written as JCR node name: 2. Special characters in assets are replaces to hyphens in JCR node names - that's correct, but the name property isn't: |
| Comments |
| Comment by Antti Hietala [ 17/Apr/19 ] |
|
Magnolia replaces invalid JCR characters (&, space, etc.) with hyphens correctly, also in files inside the zip. But valid special characters such as ÑîÅôöé· are incorrectly reduced to �������. Example: GrÅ·e with ü and ß.txt Gr��e-with--uuml-and--szlig.txt To reproduce:
|
| Comment by Rico Jansen [ 24/Apr/19 ] |
|
We are hitting this one too, but only the space in the folder name part of it. It does result in asset links in which the spaces are not correctly escaped. Most browser don't have problems with it, but for instance Facebook does, so in our case the opengraph image is not retrieved. |
| Comment by Mikaël Geljić [ 25/Jul/19 ] |
|
Hi there, The underlying issue rico.jansen, the space-to-dash escaping is independent from the encoding mismatch that was discussed here; I could verify the problem—it only happens with the "extract into new folder" option, and have now filed Cheers, |
| Comment by Rico Jansen [ 30/Jul/19 ] |
|
Ok, I have added myself as watcher to that issue. |