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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove invisible characters from file names when uploading assets #11683

Closed
TCOTC opened this issue Jun 11, 2024 · 5 comments
Closed

Remove invisible characters from file names when uploading assets #11683

TCOTC opened this issue Jun 11, 2024 · 5 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Jun 11, 2024

将这个 PDF 文件拖到思源里:

​​937.pdf

点击后会报错:

image

p.s. 不知道从 GitHub 下载的文件还能不能复现

@88250
Copy link
Member

88250 commented Jun 11, 2024

我这里下载后测试正常。

试试打个 zip 包再上传。

@TCOTC
Copy link
Contributor Author

TCOTC commented Jun 11, 2024

群里那位打压缩包再解压之后也不行,但我这里解压之后就可以正常插入了。我在QQ把PDF转发给你再试试

@88250
Copy link
Member

88250 commented Jun 11, 2024

那个压缩包解压不了:

image

@TCOTC
Copy link
Contributor Author

TCOTC commented Jun 11, 2024

我用 Bandizip 能正常解压

@88250
Copy link
Member

88250 commented Jun 11, 2024

我下载 qq 聊天后面那个不用解压的可以重现问题了。

@88250 88250 self-assigned this Jun 11, 2024
@88250 88250 changed the title 插入文件异常 Remove invisible characters from file names when uploading assets Jun 11, 2024
@88250 88250 added this to the 3.1.0 milestone Jun 11, 2024
@88250 88250 closed this as completed Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants