Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

3.42别名中挂载的本地存储文件链接拼接出错无法预览/下载 #7932

Closed
4 tasks done
Deepseaon opened this issue Feb 4, 2025 · 1 comment
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@Deepseaon
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

3.42

Driver used / 使用的存储驱动

别名

Describe the bug / 问题描述

更新到最新版后,别名中是本机存储的文件不能正确拼接出访问链接
比如在正常工作的本地存储中,访问/folder/file,拼接的链接是127.0.0.1:5244/p/folder/file,此时可以正常预览,下载。
最新版本中别名里属于本地存储的文件拼接的链接为127.0.0.1:5244/folder/file,导致无法正常显示下载,点击下载会打开一个新的文件页面

Reproduction / 复现链接

Config / 配置


如有需要可提供

Logs / 日志

正常情况(直接在本地存储文件夹内下载文件)
[GIN] 2025/02/04 - 15:00:00 | 200 | 1.0829ms | 10.10.100.2 | GET "/p/中转站/7tNvXRsm3uuaoRJbcW21RTZ7tLM.jpg?sign=NK9BFtjafAXoA-aBsHKW9dFUxR5nmKzZGVjmJfIghDI=:0"
异常情况(别名中)
[GIN] 2025/02/04 - 18:24:42 | 200 | 0s | 10.10.100.2 | GET "/中转站/7tNvXRsm3uuaoRJbcW21RTZ7tLM.jpg"

@Deepseaon Deepseaon added the bug Something isn't working label Feb 4, 2025
@Deepseaon
Copy link
Author

我的服务器和nas两台机器均复现,更新3.42版本后出现的问题
在补一次下载文件的日志
[GIN] 2025/02/04 - 19:02:44 | 200 | 582.2µs | 10.10.100.2 | POST "/api/fs/list"
[GIN] 2025/02/04 - 19:02:45 | 200 | 2.9348ms | 10.10.100.2 | POST "/api/fs/list"
[GIN] 2025/02/04 - 19:02:46 | 200 | 85.3661ms | 10.10.100.2 | POST "/api/fs/get"
[GIN] 2025/02/04 - 19:02:46 | 200 | 0s | 10.10.100.2 | GET "/assets/archive.752e4166.js"
[GIN] 2025/02/04 - 19:02:46 | 200 | 0s | 10.10.100.2 | GET "/assets/Password.f56c0c08.js"
[GIN] 2025/02/04 - 19:02:46 | 200 | 5.4604ms | 10.10.100.2 | POST "/api/fs/archive/meta"
[GIN] 2025/02/04 - 19:02:56 | 200 | 0s | 10.10.100.2 | GET "/别名/资源/11月椿.zip"
[GIN] 2025/02/04 - 19:02:56 | 200 | 0s | 10.10.100.2 | GET "/api/public/settings"
[GIN] 2025/02/04 - 19:02:56 | 200 | 0s | 10.10.100.2 | GET "/api/public/archive_extensions"
[GIN] 2025/02/04 - 19:02:56 | 200 | 0s | 10.10.100.2 | GET "/api/me"
[GIN] 2025/02/04 - 19:02:56 | 200 | 629.6µs | 10.10.100.2 | GET "/api/public/offline_download_tools"
[GIN] 2025/02/04 - 19:02:56 | 200 | 2.9687ms | 10.10.100.2 | POST "/api/fs/get"
[GIN] 2025/02/04 - 19:02:56 | 200 | 6.7452ms | 10.10.100.2 | POST "/api/fs/archive/meta"
[GIN] 2025/02/04 - 19:03:26 | 200 | 3.9913ms | 10.10.100.2 | POST "/api/fs/list"
[GIN] 2025/02/04 - 19:03:29 | 200 | 3.3856ms | 10.10.100.2 | POST "/api/fs/get"
[GIN] 2025/02/04 - 19:03:29 | 200 | 4.9441ms | 10.10.100.2 | POST "/api/fs/archive/meta"
[GIN] 2025/02/04 - 19:03:34 | 200 | 683.158ms | 10.10.100.2 | GET "/p/Data/资源/11月椿.zip?sign=XggtQWk5LxIlaOEDnHkHwx1wGgvSjQKcf8Ox4PQ1OqI=:0"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant