s3: Encode StartAfter when encoding type is passed (#7281)

In ObjectList V2, StartAfter needs to be encoded when encoding-type
is specified.
master
Anis Elleuch 6 years ago committed by Harshavardhana
parent 2520e535a0
commit 6584c7ea2b
  1. 2
      cmd/api-response.go

@ -414,7 +414,7 @@ func generateListObjectsV2Response(bucket, prefix, token, nextToken, startAfter,
data.Contents = contents
data.EncodingType = encodingType
data.StartAfter = startAfter
data.StartAfter = s3EncodeName(startAfter, encodingType)
data.Delimiter = s3EncodeName(delimiter, encodingType)
data.Prefix = s3EncodeName(prefix, encodingType)
data.MaxKeys = maxKeys

Loading…
Cancel
Save