mirror of
https://github.com/minio/minio.git
synced 2025-11-23 11:07:50 -05:00
Fix issue with UNSIGNED payloads.
Additionally also fixes escaping slashes in temporary multipart names
This commit is contained in:
committed by
Harshavardhana
parent
52b500cce9
commit
bfff251e2a
@@ -272,10 +272,9 @@ func (api gatewayAPIHandlers) PutObjectHandler(w http.ResponseWriter, r *http.Re
|
||||
return
|
||||
}
|
||||
|
||||
sha256sum := getContentSha256Cksum(r)
|
||||
|
||||
sha256sum := ""
|
||||
if !skipContentSha256Cksum(r) {
|
||||
sha256sum = r.Header.Get("X-Amz-Content-Sha256")
|
||||
sha256sum = getContentSha256Cksum(r)
|
||||
}
|
||||
|
||||
// Create object.
|
||||
|
||||
Reference in New Issue
Block a user