-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
请确认以下事项
-
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。 -
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。 -
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
-
我已确认阅读了OpenList文档。
-
我已确认没有重复的问题或讨论。
-
我已确认是
OpenList的问题,而不是其他原因(例如 网络 ,依赖或操作)。 -
我认为此问题必须由
OpenList处理,而非第三方。 -
我已确认这个问题在最新版本中没有被修复。
-
我没有阅读这个清单,只是闭眼选中了所有的复选框,请关闭这个 Issue 。
OpenList 版本(必填)
v4.1.10
使用的存储驱动(必填)
对象存储
问题描述(必填)
分享内容使用复制链接,chrome点击下载无法下载,然后我点击了复制链接粘贴到了地址栏下载会500报错,日志说是找不到记录
本来怀疑是chrome问题,但是看到错误返回的是500,所以猜测可能是openlist中的某个模块有bug
这是分享链接
@lingview shared "test.txt" from OpenList: https://pan.lingview.xyz/@s/V6Fucgt6 , the share code is 123456
这是复制链接后的url,推测是url截取后查询数据库有问题
https://pan.lingview.xyz/sd/test.txt?pwd=123456
日志(必填)
2026/03/23 16:04:26 /source/internal/db/sharing.go:11
[0.256ms] [rows:0] SELECT * FROM x_sharing_dbs WHERE x_sharing_dbs.id = "test.txt" AND x_sharing_dbs.id = "test.txt" ORDER BY x_sharing_dbs.id LIMIT 1
[GIN] 2026/03/23 - 16:04:26 | 500 | 1.014987ms | 61.50.141.124 | GET "/sd/test.txt?pwd=123456"
2026/03/23 16:04:26 /source/internal/db/sharing.go:11
[0.206ms] [rows:0] SELECT * FROM x_sharing_dbs WHERE x_sharing_dbs.id = "test.txt" AND x_sharing_dbs.id = "test.txt" ORDER BY x_sharing_dbs.id LIMIT 1
[GIN] 2026/03/23 - 16:04:26 | 500 | 730.41µs | 61.50.141.124 | GET "/sd/test.txt?pwd=123456"
[GIN] 2026/03/23 - 16:04:27 | 302 | 1.252745ms | 61.50.141.124 | GET "/favicon.ico"
2026/03/23 16:04:33 /source/internal/db/sharing.go:11
[0.375ms] [rows:0] SELECT * FROM x_sharing_dbs WHERE x_sharing_dbs.id = "test.txt" AND x_sharing_dbs.id = "test.txt" ORDER BY x_sharing_dbs.id LIMIT 1
[GIN] 2026/03/23 - 16:04:33 | 500 | 1.034136ms | 61.50.141.124 | GET "/sd/test.txt?pwd=123456"
2026/03/23 16:04:33 /source/internal/db/sharing.go:11
[0.216ms] [rows:0] SELECT * FROM x_sharing_dbs WHERE x_sharing_dbs.id = "test.txt" AND x_sharing_dbs.id = "test.txt" ORDER BY x_sharing_dbs.id LIMIT 1
[GIN] 2026/03/23 - 16:04:33 | 500 | 572.869µs | 61.50.141.124 | GET "/sd/test.txt?pwd=123456"
[GIN] 2026/03/23 - 16:04:33 | 302 | 116.923µs | 61.50.141.124 | GET "/favicon.ico"
配置文件内容(必填)
复现链接(可选)
这是点击复制链接后的url,推测是url截取后查询数据库有问题
https://pan.lingview.xyz/sd/test.txt?pwd=123456