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

Fixes #9517
master
Harshavardhana 4 years ago committed by GitHub
parent 3773874cd3
commit 8eb99d3a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmd/api-response.go

@ -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 + "\"",
}
}

Loading…
Cancel
Save