-
Type: Bug
-
Status: Reopened
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 2021
-
Component/s: Preview
-
Tags:
-
Backlog priority:700
-
Sprint:nxplatform #52
-
Story Points:5
A binary in a ZIP file whose filename contains non-ASCII chars (e.g. "é") returns HTTP 404
Take a 10.10-HF-ed release
- Create a ZIP file containing a PDF with a name such as "Plan Salles Réunion - Rue Damrémont.pdf"
- Create a File document with the ZIP as file:content
- Preview the ZIP file: it lists the files in the ZIP as links
- Click on the link "Plan Salles Re\u0301union - Rue Damre\u0301mont.pdf" : it returns
{"entity-type":"exception","status":404,"message":"com.sun.jersey.api.NotFoundException: null for uri: http://localhost:8080/nuxeo/site/api/v1/repo/default/id/2553f8da-4632-4f63-a800-0a115f1645c6/@preview/Plan%20Salles%20Re/u0301union%20-%20Rue%20Damre/u0301mont.pdf"}
Expected result in 10.10: PDF with filename containing non-ASCII characters in the ZIP file displayed as PDF file
In nightly.nuxeo.com, the ZIP preview is currently failing in attempting to display the ZIP as a PDF, which is also wrong
Expected result on nightly: Preview of the ZIP listing the content of the ZIP and then PDF displayed as PDF, even if filename of PDF contains non-ASCII characters.
- is related to
-
NXP-29508 Implement a new ZIP previewer
- Open