diff --git a/src/api/s3_put.rs b/src/api/s3_put.rs index 4e85664b..49b04f29 100644 --- a/src/api/s3_put.rs +++ b/src/api/s3_put.rs @@ -715,6 +715,11 @@ fn parse_complete_multpart_upload_body( } for item in cmu.children() { + // Only parse nodes + if !item.is_element() { + continue; + } + if item.has_tag_name("Part") { let etag = item.children().find(|e| e.has_tag_name("ETag"))?.text()?; let part_number = item