adobe / adobe/aem-testing-clients

Multipart uploads do not properly handle UTF-8 encoded names

Open
#76 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
57
Forks
39
PR merge metrics
No merged PRs in 30d

Description

https://github.com/adobe/aem-testing-clients/blob/889e1c6fc66ee146c5fa1b526065e36082fc480a/src/main/java/com/adobe/cq/testing/client/CQAssetsClient.java#L394

When building the multipart request, the charset of the filename part is not set as UTF-8 and instead is ISO-8859-1 and the filename characters that are 3-byte UTF-8 (such as Korean and Chinese glyphs) are squashed to ? characters.

Contributor guide

Open the contributing guide

Research direction

Start at src/main/java/com/adobe/cq/testing/client/CQAssetsClient.java around line 394 and inspect how the multipart filename part is built and encoded. Verify the behavior with filenames containing Korean or Chinese characters; done means those UTF-8 characters are preserved instead of becoming question marks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.