rachpt / lanzou-gui

蓝奏云 | 蓝奏云客户端 | 蓝奏网盘 GUI版本
https://rachpt.cn/lanzou-gui/
MIT License
1.33k stars 215 forks source link

# #5

Closed ghost closed 4 years ago

zaxtyson commented 4 years ago

API v2.3.2 已修复该 Bug,原因是蓝奏云上传接口启用了 https,使用 http 上传会得到 302 重定向的响应。另外修复了官方对文件名携带多重后缀的限制(比如图片.jpg.dll图片.jpg哈哈.dll 这样的文件不允许上传)。CMD版已经修复。

mrdong916 commented 4 years ago

什么时候修复啊

rachpt commented 4 years ago

什么时候修复啊

按照 @zaxtyson 的说法,只需要在下面一行将 http 改成 https 即可解决上传bug。 https://github.com/rachpt/lanzou-gui/blob/56bd72724c29e84bfeaff4c1a51347293ff32325/lanzou/api.py#L633 。 至于打包可以参考wiki: python.exe "D:\pyinstaller\pyinstaller.py" -F -w -i ".\lanzou-gui\application_icon.ico" --version-file ".\lanzou-gui\pyinstaller_version_info.txt" .\lanzou-gui\main.py

最后,因为纵所周知的原因,被困在农村,没有条件测试和打包,希望有条件的同学pr😘