mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
gateway-s3: Avoid x2 double quotes in ListParts (#4295)
ListParts response returns doubled double quotes in ETag field. This commit cleans ETag when receiving it from minio client to fix the issue.
This commit is contained in:
parent
0d9de50e21
commit
85bc6003e9
@ -449,7 +449,7 @@ func (l *s3Gateway) CopyObjectPart(srcBucket string, srcObject string, destBucke
|
||||
func fromMinioClientObjectPart(op minio.ObjectPart) PartInfo {
|
||||
return PartInfo{
|
||||
Size: op.Size,
|
||||
ETag: op.ETag,
|
||||
ETag: canonicalizeETag(op.ETag),
|
||||
LastModified: op.LastModified,
|
||||
PartNumber: op.PartNumber,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user