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

对文件名称url编码之后上传,会自动去掉%导致解码失败 #444

Closed
wangyuanchen opened this issue Jun 5, 2024 · 1 comment

Comments

@wangyuanchen
Copy link

代码中对文件名称进行编码后结果为:doc%EF%BC%88%E5%95%8A%E6%92%92%E5%A4%A7%E5%A3%B0%E5%9C%B0%20%EF%BC%89.doc

在进行上传后地址为:
https://127.0.0.1:8000/group1、20240605/11/24/5/docEFBC88E5958AE69292E5A4A7E5A3B0E59CB020EFBC89.doc

文件服务器中实际存储结果:
image

@sjqzhang
Copy link
Owner

请参阅内置的上传页面如何处理中文的

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

2 participants