Browse Source
Fix CopyObject If-Match ETag mismatch by copying Md5 attribute (#8053)
pull/8055/head
Chris Lu
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
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, |
|
|
|
} |
|
|
|
|