Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

AList的OneDrive驱动的自定义加速Host如果有 ":" 就会返回错误的链接 #7287

Open
4 tasks done
yyyytawa opened this issue Oct 1, 2024 · 3 comments
Open
4 tasks done
Labels
bug Something isn't working

Comments

@yyyytawa
Copy link

yyyytawa commented Oct 1, 2024

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 版本

v3.37.4

Driver used / 使用的存储驱动

OneDrive

Describe the bug / 问题描述

OneDrive驱动的自定义加速Host不能正确返回结果

例如说填入这个加速链接
test.example.com

这时候AList返回的是正确的结果
https://test.example.com/personal/xxxxxxxx

但是如果按照这样填入会出现问题
test.example.com/https://xxxxxx-my.sharepoint.com

这时候AList返回的链接就是这个
https://alist.example.com/private/OneDrive/目录1/https://test.example.com/https://xxxxxx-my.sharepoint.com/personal/xxxxx

但是正确的返回结果应该是 https://test.example.com/https://xxxxxx-my.sharepoint.com/personal/xxxxx

Reproduction / 复现链接

暂时无法提供,但是只要自定义加速host类似于 test.example.com/https://xxxx.com 就会返回错误结果

Config / 配置

不需要

Logs / 日志

image
这是返回的错误地址 加速Host是test.yyyyt.top/https://xxxx.com

image
这个是加速Host是test.yyyyt.top的效果

@yyyytawa yyyytawa added the bug Something isn't working label Oct 1, 2024
@yyyytawa
Copy link
Author

yyyytawa commented Oct 1, 2024

发现只要自定义加速Host里面有 “:” 返回链接就错误

@yyyytawa yyyytawa changed the title AList的OneDrive驱动的自定义加速Host在一些链接下会返回错误的地址 AList的OneDrive驱动的自定义加速Host如果有 ":" 就会返回错误的链接 Oct 1, 2024
@im-dashan
Copy link

是的我也遇到了这个问题,希望能尽快修复

@yyyytawa
Copy link
Author

yyyytawa commented Oct 1, 2024

还有就是貌似URL会自动转码导致不能使用 下回加个不转码的开关

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

No branches or pull requests

2 participants