parse-community / parse-community/parse-server

`Parse.File` name support for languages with non-ASCII characters

Open
#9,278 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

New Issue Checklist
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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Start by reproducing a Parse.File PDF upload with Marathi, Hindi, or Korean characters, then trace the filename validation path in parse-server. Done means supported non-ASCII filenames upload successfully without the invalid-characters error, with coverage for the reported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.