You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Demo UI fails when trying to read an image file unicode characters in the filename.
To Reproduce
Try naming the file something like čćšđ_unicode.jpg
Expected behavior
Filename should be processed no matter the characterset used.
Additional context
I managed to fix it by changing lines 24 and 86 from btoa(str) to btoa(unescape(encodeURIComponent(str)));
The deployment was done with Cloudformation template, and script.js file changed manually on S3.
I can create a PR if you want.
The text was updated successfully, but these errors were encountered:
@batica81 Thank you for your report. We will duplicate it to confirm the issue.
We would appreciate a PR that includes the following if possible:
description of the issue
code changes made to correct the issue using the develop branch
test case descriptions to confirm the fix and confirm that the existing behavior continues to work for non-unicode characters
Once we get the PR we will add that to our backlog. We are working off the current list now but should be able to address this soon.
If we accept the PR we will give you a contributor attribution.
Thanks again for reporting this and providing a potential fix.
Describe the bug
Demo UI fails when trying to read an image file unicode characters in the filename.
To Reproduce
Try naming the file something like čćšđ_unicode.jpg
Expected behavior
Filename should be processed no matter the characterset used.
Additional context
I managed to fix it by changing lines 24 and 86 from btoa(str) to btoa(unescape(encodeURIComponent(str)));
The deployment was done with Cloudformation template, and script.js file changed manually on S3.
I can create a PR if you want.
The text was updated successfully, but these errors were encountered: