Closed Saltysth closed 11 months ago
2.4.0-beta.6&2.3.1
Mac(arm64)
java接口实现,然后配合 web-uploader 1.1.1 进行搭建,但是经测试,接口返回的String中如果包含有非数字,就会被picGo解析带引号,去掉就能正常访问图片,就导致每次上传后都必须手动去掉双引号
2023-12-08 11:04:36 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:04:36 [PicGo SUCCESS] %22http://localhost/load_image/202312/202312081104796.png%22 2023-12-08 11:06:39 [PicGo INFO] upload clipboard file 2023-12-08 11:06:39 [PicGo INFO] Before transform 2023-12-08 11:06:39 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:06:39 [PicGo INFO] Before upload 2023-12-08 11:06:39 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:06:39 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:06:39 [PicGo SUCCESS] 1 2023-12-08 11:07:20 [PicGo INFO] upload clipboard file 2023-12-08 11:07:20 [PicGo INFO] Before transform 2023-12-08 11:07:20 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:07:20 [PicGo INFO] Before upload 2023-12-08 11:07:20 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:07:20 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:07:20 [PicGo SUCCESS] %221a%22 2023-12-08 11:07:40 [PicGo INFO] upload clipboard file 2023-12-08 11:07:40 [PicGo INFO] Before transform 2023-12-08 11:07:40 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:07:40 [PicGo INFO] Before upload 2023-12-08 11:07:40 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:07:40 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:07:40 [PicGo SUCCESS] %221:%22 2023-12-08 11:08:01 [PicGo INFO] upload clipboard file 2023-12-08 11:08:01 [PicGo INFO] Before transform 2023-12-08 11:08:01 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:08:01 [PicGo INFO] Before upload 2023-12-08 11:08:01 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:08:01 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:08:01 [PicGo SUCCESS] %221%22 2023-12-08 11:08:29 [PicGo INFO] upload clipboard file 2023-12-08 11:08:29 [PicGo INFO] Before transform 2023-12-08 11:08:29 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:08:29 [PicGo INFO] Before upload 2023-12-08 11:08:29 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:08:29 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:08:29 [PicGo SUCCESS] 112331223421243
这是webuploader返回给picgo的url里带上了双引号。请自行检查或者去 web uploader插件仓库反馈。
前置阅读 | Pre-reading
PicGo的版本 | PicGo Version
2.4.0-beta.6&2.3.1
系统信息 | System Information
Mac(arm64)
问题重现 | Bug reproduce
java接口实现,然后配合 web-uploader 1.1.1 进行搭建,但是经测试,接口返回的String中如果包含有非数字,就会被picGo解析带引号,去掉就能正常访问图片,就导致每次上传后都必须手动去掉双引号
相关日志 | Logs
2023-12-08 11:04:36 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:04:36 [PicGo SUCCESS] %22http://localhost/load_image/202312/202312081104796.png%22 2023-12-08 11:06:39 [PicGo INFO] upload clipboard file 2023-12-08 11:06:39 [PicGo INFO] Before transform 2023-12-08 11:06:39 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:06:39 [PicGo INFO] Before upload 2023-12-08 11:06:39 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:06:39 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:06:39 [PicGo SUCCESS] 1 2023-12-08 11:07:20 [PicGo INFO] upload clipboard file 2023-12-08 11:07:20 [PicGo INFO] Before transform 2023-12-08 11:07:20 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:07:20 [PicGo INFO] Before upload 2023-12-08 11:07:20 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:07:20 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:07:20 [PicGo SUCCESS] %221a%22 2023-12-08 11:07:40 [PicGo INFO] upload clipboard file 2023-12-08 11:07:40 [PicGo INFO] Before transform 2023-12-08 11:07:40 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:07:40 [PicGo INFO] Before upload 2023-12-08 11:07:40 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:07:40 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:07:40 [PicGo SUCCESS] %221:%22 2023-12-08 11:08:01 [PicGo INFO] upload clipboard file 2023-12-08 11:08:01 [PicGo INFO] Before transform 2023-12-08 11:08:01 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:08:01 [PicGo INFO] Before upload 2023-12-08 11:08:01 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:08:01 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:08:01 [PicGo SUCCESS] %221%22 2023-12-08 11:08:29 [PicGo INFO] upload clipboard file 2023-12-08 11:08:29 [PicGo INFO] Before transform 2023-12-08 11:08:29 [PicGo INFO] Transforming... Current transformer is [path] 2023-12-08 11:08:29 [PicGo INFO] Before upload 2023-12-08 11:08:29 [PicGo INFO] beforeUploadPlugins: renameFn running 2023-12-08 11:08:29 [PicGo INFO] Uploading... Current uploader is [web-uploader] 2023-12-08 11:08:29 [PicGo SUCCESS] 112331223421243