mirror of
https://github.com/minio/minio.git
synced 2025-02-03 18:06:00 -05:00
s3: Encode StartAfter when encoding type is passed (#7281)
In ObjectList V2, StartAfter needs to be encoded when encoding-type is specified.
This commit is contained in:
parent
2520e535a0
commit
6584c7ea2b
@ -414,7 +414,7 @@ func generateListObjectsV2Response(bucket, prefix, token, nextToken, startAfter,
|
|||||||
data.Contents = contents
|
data.Contents = contents
|
||||||
|
|
||||||
data.EncodingType = encodingType
|
data.EncodingType = encodingType
|
||||||
data.StartAfter = startAfter
|
data.StartAfter = s3EncodeName(startAfter, encodingType)
|
||||||
data.Delimiter = s3EncodeName(delimiter, encodingType)
|
data.Delimiter = s3EncodeName(delimiter, encodingType)
|
||||||
data.Prefix = s3EncodeName(prefix, encodingType)
|
data.Prefix = s3EncodeName(prefix, encodingType)
|
||||||
data.MaxKeys = maxKeys
|
data.MaxKeys = maxKeys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user