Skip to content

[Bug] OSSStorage upload_folder 和 download_folder 对 OSS 路径的 / 处理方式不一致,导致上传后的数据可能无法正确下载。 #450

@RaelagF

Description

@RaelagF

upload_folder 为目录创建了以 / 结尾的空对象(如 "data/sub/")。但 download_folder 中 ObjectIterator 未设置 delimiter,obj.is_prefix() 始终为 False,导致目录标记被当作文件下载为空文件,后续同名子目录创建时会冲突报错。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions