sjqzhang / go-fastdfs

go-fastdfs 是一个简单的分布式文件系统(私有云存储),具有无中心、高性能,高可靠,免维护等优点,支持断点续传,分块上传,小文件合并,自动同步,自动修复。Go-fastdfs is a simple distributed file system (private cloud storage), with no center, high performance, high reliability, maintenance free and other advantages, support breakpoint continuation, block upload, small file merge, automatic synchronization, automatic repair.(similar fastdfs).
https://gitee.com/sjqzhang/go-fastdfs
The Unlicense
3.94k stars 747 forks source link

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

Closed wangyuanchen closed 1 month ago

wangyuanchen commented 5 months ago

代码中对文件名称进行编码后结果为: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 commented 1 month ago

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