sy-records / sync-qcloud-cos

💾 使用腾讯云对象存储服务COS作为附件存储空间的WordPress插件。https://wordpress.org/plugins/sync-qcloud-cos/
https://qq52o.me/2518.html
Apache License 2.0
148 stars 18 forks source link

图片原文件名中如果包含空格,上传到cos后无法被访问 #35

Closed fengyunhe closed 1 year ago

fengyunhe commented 1 year ago

原文件名: Screenshot from 2023-09-01 11-33-23.png 上传后的URL: https://blog-1251934191.cos.ap-chengdu.myqcloud.com/wp-content/uploads/2023/09/Screenshot-from-2023-09-01-11-33-23-2-1020x822.png

fengyunhe commented 1 year ago

实际并未上传成功,Bucket中没看到。但是会在图片库里产生一条记录。

sy-records commented 1 year ago

我测试可以,空格为转为-,本地和桶里的都能访问

sy-records commented 1 year ago

你这看起来是防盗链的问题

image