From c446651be80a42ab13333528df710a275ecdd76a Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 13 Dec 2022 12:21:12 +0000 Subject: [PATCH] Revert "s3: turn off list v2 support for Alibaba OSS since it does not work" This reverts commit 4f386a1ccd4a773ffa09d9ad3e729c4b36520ccc. It turns out that Alibaba OSS does support list v2 and the detection code was wrong. This means that users of the gov version of Alibaba will have to add `list_version 1` to their config files. See #6600 --- backend/s3/s3.go | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 9a255689e..286ebb283 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -2755,7 +2755,6 @@ func setQuirks(opt *Options) { mightGzip = false // Never auto gzips objects case "Alibaba": useMultipartEtag = false // Alibaba seems to calculate multipart Etags differently from AWS - listObjectsV2 = false // See #6600 case "HuaweiOBS": // Huawei OBS PFS is not support listObjectV2, and if turn on the urlEncodeListing, marker will not work and keep list same page forever. urlEncodeListings = false