s3: Specify that Minio supports URL encoding in listings

Thanks to @harshavardhana for pointing this out

See #3934 for background
s3-about
Nick Craig-Wood 2020-02-09 09:45:53 +00:00
parent f1d9bd5eab
commit 90377f5e65
1 changed files with 1 additions and 1 deletions

View File

@ -1338,7 +1338,7 @@ func (f *Fs) list(ctx context.Context, bucket, directory, prefix string, addBuck
//
// So we enable only on providers we know supports it properly, all others can retry when a
// XML Syntax error is detected.
var urlEncodeListings = (f.opt.Provider == "AWS" || f.opt.Provider == "Wasabi" || f.opt.Provider == "Alibaba")
var urlEncodeListings = (f.opt.Provider == "AWS" || f.opt.Provider == "Wasabi" || f.opt.Provider == "Alibaba" || f.opt.Provider == "Minio")
for {
// FIXME need to implement ALL loop
req := s3.ListObjectsInput{