feat(driver): add doubao_new driver#2093
Open
Elegant1E wants to merge 13 commits intoOpenListTeam:mainfrom
Open
feat(driver): add doubao_new driver#2093Elegant1E wants to merge 13 commits intoOpenListTeam:mainfrom
Elegant1E wants to merge 13 commits intoOpenListTeam:mainfrom
Conversation
Author
感谢建议,是这样的,我看上游的说法是”不是所有的账户都被迁移到新API,新API正在灰度测试“,所以考虑了一下我没有移除原来的豆包驱动,保持两个驱动同时都在可以保证用户一定可以挂载到openlist。此外新的驱动需要填写的配置需求变更,如果直接覆盖原来的豆包驱动,所有正在使用旧版驱动的用户升级后,现有的存储挂载会立即报错,还是得重新填写驱动配置。综上所述,我不建议直接替换原有豆包驱动。 |
xrgzs
requested changes
Feb 7, 2026
xrgzs
requested changes
Feb 7, 2026
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
xrgzs
requested changes
Feb 9, 2026
Member
xrgzs
left a comment
There was a problem hiding this comment.
目前这个驱动的DPoP实现有点问题,这一块需要处理:
- 不支持自动获取、刷新 Token
- DPoP Token 签名不规范(网页版也是)
- 302 会泄露 Token,能够通过泄露的 Token 访问所有文件,存在严重安全问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description / 描述
从上游移植了
doubao_new驱动Motivation and Context / 背景
原有的豆包驱动疑似API迁移,无法获得新API后的所有操作更新,也无法进行操作。
这是我提出的issue:Closes #2079
Credits:
Ported from Alist PR: AlistGo/alist#9416
感谢该 PR 作者
How Has This Been Tested? / 测试
通过docker构建移植后的新版本后测试该驱动可以正常使用。
Checklist / 检查清单
我已阅读 CONTRIBUTING 文档。
go fmtor prettier.我已使用
go fmt或 prettier 格式化提交的代码。我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
我已相应更新了相关仓库(若适用)。