Browse Source

Fix CopyObject If-Match ETag mismatch by copying Md5 attribute (#8053)

pull/8055/head
Chris Lu 2 days ago
committed by GitHub
parent
commit
bc64ed51c5
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      weed/s3api/s3api_object_handlers_copy.go

1
weed/s3api/s3api_object_handlers_copy.go

@ -1045,6 +1045,7 @@ func (s3a *S3ApiServer) validateConditionalCopyHeaders(r *http.Request, entry *f
Mtime: time.Unix(entry.Attributes.Mtime, 0),
Crtime: time.Unix(entry.Attributes.Crtime, 0),
Mime: entry.Attributes.Mime,
Md5: entry.Attributes.Md5,
},
Chunks: entry.Chunks,
}

Loading…
Cancel
Save