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中带有中文导致无法上传 #581

Closed
dark3212 opened this issue Nov 3, 2020 · 1 comment
Closed

url中带有中文导致无法上传 #581

dark3212 opened this issue Nov 3, 2020 · 1 comment
Labels

Comments

@dark3212
Copy link

dark3212 commented Nov 3, 2020

声明:我已经仔细看过 文档FAQ、和搜索过已经关闭的 issues 后依然没有找到答案,所以才发了一个新的 issue。

问题类型

Bug Report

PicGo 的相关信息

PicGo:2.3.0-beta.3
系统:win10

问题重现

使用typora配合picGo通过url上传图片,如果url中带有中文,导致上传失败。
使用picGo软件的url上传功能,同样无法上传此url。
将url的中文部分手动urlencode后可以上传成功。

错误url:https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-6/阿里巴巴Java开发手-Arrays.asList()方法.png

错误日志:

2020-11-03 17:18:16 [PicGo INFO] Before transform 
2020-11-03 17:18:16 [PicGo INFO] Transforming... 
2020-11-03 17:18:16 [PicGo ERROR] request https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-6/阿里巴巴Java开发手-Arrays.asList()方法.png error 
2020-11-03 17:18:16 [PicGo INFO] Before upload 
2020-11-03 17:18:16 [PicGo INFO] beforeUploadPlugins: renameFn running 
2020-11-03 17:18:16 [PicGo INFO] Uploading... 
2020-11-03 17:18:16 [PicGo SUCCESS] 

@Molunerfinn
Copy link
Owner

收到,看了一下流程确实上传前漏了url encode了。会在beta.4修复,感谢指出错误

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

No branches or pull requests

2 participants