-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust testPresignedPostPolicy to ensure that GetObject... #1996
base: master
Are you sure you want to change the base?
Conversation
df3d6c9
to
5de5dbe
Compare
logError(testName, function, args, startTime, "", "PutObject failed", err) | ||
return | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was just a copy paste mistake, not sure why we were doing a PutObject here, as we are running the PostPolicy presigned request via the http client further down.
// Needed for S3 compatibility. MinIO ignores the checksum keys in the policy. | ||
// https://github.com/minio/minio/blob/RELEASE.2024-08-29T01-40-52Z/cmd/postpolicyform.go#L60-L65 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jiuker You added this in minio/minio#18074
I don't understand why these should be ignored, which seems like a bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spoke to Jiuker and he agrees it is a bug, so I will remove the ignores in a PR to minio/minio
…orrect checksum. Add checksum headers to policy
5de5dbe
to
cf2b561
Compare
FYI to myself: minio/minio#18074 (comment) |
...returns the correct checksum. Add checksum headers to policy
For the following issue: minio/minio#20343