Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: Attachment upload error (file name in Cyrillic) #5681

Closed
1 task done
krytoy4yvak opened this issue May 20, 2023 · 1 comment
Closed
1 task done

馃悰 Bug: Attachment upload error (file name in Cyrillic) #5681

krytoy4yvak opened this issue May 20, 2023 · 1 comment
Milestone

Comments

@krytoy4yvak
Copy link

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

response = requests.get(url_list[i])

files = {
"json": (None, json.dumps({"api": "xcAttachmentUpload", "project_id": project_id, "dbAlias": "db", "args": {}}), 'application/json'),
"file": ("test", response.content, types[i])
}

r = requests.post(
f"http://83.220.59.158:12780/api/v1/db/storage/upload?path={path + field}",
files=files,
headers=headers,
params=params
)

When transferring files, an error occurs in the encoding of the file name if it is written in Cyrillic. This leads to the fact that the file itself is downloaded, but it is not displayed in the web interface.

Desired Behavior

the file name is transferred correctly and is available in the web interface

Project Details

Node: v16.19.1
Arch: x64
Platform: linux
Docker: true
RootDB: mysql2
PackageVersion: 0.107.0-beta.0-pr-5598-20230505-0911

Attachments

No response

@dstala dstala changed the title 馃悰 Bug: 馃悰 Bug: Attachment upload error (file name in Cyrillic) May 20, 2023
@dstala dstala added this to the vNext milestone Oct 27, 2023
@wingkwong
Copy link
Member

fixed in #6824.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants