alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
42.49k stars 5.49k forks source link

Fix: S3 bug with AliyundriveOpen when objectName contains /. #6660

Closed akang943578 closed 3 months ago

akang943578 commented 3 months ago

Fix: when S3 PutObject with objectName contains /, aliyundriveopen failed due to KeyNotFound, make dir to fix this.

Refer Issue: https://github.com/alist-org/alist/issues/6588

Tested with Seafile and AliyundriveOpen.

welcome[bot] commented 3 months ago

Thanks for opening this pull request! Please check out our contributing guidelines.

itsHenry35 commented 3 months ago

@akang943578 gofakes3的库不要替换,还是用alist-org下的,go mod中更新版本即可

itsHenry35 commented 3 months ago

然后你这pr是不是得改个名😊又是修另一个问题了

akang943578 commented 3 months ago

然后你这pr是不是得改个名😊又是修另一个问题了

Ok, 现在commit太多,我重新提一个PR。 是2个问题: 1) S3上传支持多级目录文件 2) go.mod 更新gofakes3 v0.05,支持AWS Signature V2

akang943578 commented 3 months ago

然后你这pr是不是得改个名😊又是修另一个问题了

Ok, 现在commit太多,我重新提一个PR。 是2个问题: 1) S3上传支持多级目录文件 2) go.mod 更新gofakes3 v0.05,支持AWS Signature V2

New PR: https://github.com/alist-org/alist/pull/6683