mirror of
https://github.com/versity/versitygw.git
synced 2025-12-23 05:05:16 +00:00
fix: adds BadDigest error for incorrect Content-Md5 s
Closes #1525 * Adds validation for the `Content-MD5` header. * If the header value is invalid, the gateway now returns an `InvalidDigest` error. * If the value is valid but does not match the payload, it returns a `BadDigest` error. * Adds integration test cases for `PutBucketCors` with `Content-MD5`.
This commit is contained in:
740
s3api/router.go
740
s3api/router.go
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user