parse-server
parse-server copied to clipboard
`Parse.File` name support for languages with non-ASCII characters
trafficstars
New Issue Checklist
- Report security issues confidentially.
- Any contribution is under this license.
- Before posting search existing issues.
Issue Description
When I try to upload a PDF document using Parse.File with a filename in languages like Marathi, Hindi, Korean, etc., I get an error. However, when I try to upload the same file with a filename in English, it uploads successfully.
Actual Outcome
{"code":122,"error":"Filename contains invalid characters."}
Expected Outcome
Parse.File should support filenames in any language.
Thanks for opening this issue!
- 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.