]> source.dussan.org Git - gitea.git/commit
Fix object storage path handling (#27024)
authorwxiaoguang <wxiaoguang@gmail.com>
Wed, 13 Sep 2023 01:18:52 +0000 (09:18 +0800)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 01:18:52 +0000 (01:18 +0000)
commit8ecdc93f8b04f2d2e2e26bedb25fde045f0aff64
treecac2d527e43a5d5d199d536f253eab49641c04b4
parent7d56459c6c5e1c54fd6676e6ed1478039b9e21e5
Fix object storage path handling (#27024)

Object storage path rules:

* No single `/` or `.`, use empty string for root path
* Need to use trailing `/` for a list prefix to distinguish a "dir/"
modules/storage/minio.go
modules/storage/minio_test.go