-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Please confirm the following
-
I have read and agree to AGPL-3.0 Section 15 .
The program is provided "as is" without any warranties; you bear all risks of using it. -
I have read and agree to AGPL-3.0 Section 16 .
The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program. -
I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.
-
I have read the OpenList documentation.
-
I confirm there are no duplicate issues or discussions.
-
I confirm this is an
OpenListissue, not caused by other reasons (such as network, dependencies, or operation). -
I believe this issue must be handled by
OpenListand not by a third party. -
I confirm this issue is not fixed in the latest version.
-
I have not read these checkboxes and therefore I just ticked them all, Please close this issue.
OpenList Version (required)
v4.1.10
Storage Driver Used (required)
对象存储
Bug Description (required)
分享内容使用复制链接,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
Logs (required)
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"
Configuration File Content (required)
Reproduction Link (optional)
这是点击复制链接后的url,推测是url截取后查询数据库有问题
https://pan.lingview.xyz/sd/test.txt?pwd=123456