fix: complete multipart upload respond with ETag quoted (#9525)

Fixes #9517
This commit is contained in:
Harshavardhana 2020-05-05 17:47:54 -07:00 committed by GitHub
parent 3773874cd3
commit 8eb99d3a87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -601,7 +601,8 @@ func generateCompleteMultpartUploadResponse(bucket, key, location, etag string)
Location: location,
Bucket: bucket,
Key: key,
ETag: etag,
// AWS S3 quotes the ETag in XML, make sure we are compatible here.
ETag: "\"" + etag + "\"",
}
}