Add quotes in returned etags

This commit is contained in:
Alex Auvolat
2022-01-12 11:41:20 +01:00
parent 1ee8f596ee
commit f7349f4005
4 changed files with 45 additions and 53 deletions
+1 -1
View File
@@ -532,7 +532,7 @@ pub async fn handle_complete_multipart_upload(
location: None,
bucket: s3_xml::Value(bucket_name.to_string()),
key: s3_xml::Value(key),
etag: s3_xml::Value(etag),
etag: s3_xml::Value(format!("\"{}\"", etag)),
};
let xml = s3_xml::to_xml_with_header(&result)?;