[MGNLUI-8144] Cannot download assets having special character in name Created: 12/Dec/22  Updated: 04/Jul/23  Resolved: 03/Jul/23

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.25
Fix Version/s: 6.3.0, 6.2.37

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Jaromir Sarf
Resolution: Fixed Votes: 0
Labels: Nucleus_AuthX_Support
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1h Time Spent: 1h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
causality
duplicate
is duplicated by MGNLDAM-1136 Special characters create download an... Closed
relation
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-8145 Implementation Sub-task Completed Jaromir Sarf  
MGNLUI-8146 Code review Sub-task Closed Antonín Juran  
MGNLUI-8147 Pre-Integration QA Sub-task Closed Antonín Juran  
MGNLUI-8148 QA Sub-task Completed Adam Siska  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Date of First Response:
Epic Link: AuthorX Support
Sprint: Nucleus 39
Story Points: 3
Team: AuthorX
Work Started:
Approved:
Yes

 Description   

Steps to reproduce

  1.  Upload any file with name ü-ä-ö_test.jpg
  2. Download the file from the asset app by using the "download asset"button either in app overview or in asset detail view.

.. Logs, screenshots, gifs...

Expected results

  • File being downloaded

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

  • Issue happen showing 404 error page

Workaround

  • No

Development notes

  • N/A


 Comments   
Comment by Jaromir Sarf [ 09/Jun/23 ]

Discovery:
Not reproducible on nightly/demo(6.2.35).

EDIT: Reproducible in chrome, safari works fine.

Comment by Jaromir Sarf [ 16/Jun/23 ]

Re-discovery:

String pathInfo = UnicodeNormalizer.normalizeNFC(request.getPathInfo()); 
Generated at Mon Feb 12 14:09:25 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.