Mark Theunissen
a248ed5ff5
Fixes for POST policy checks and the x-ignore implementation ( #20674 )
2024-12-11 16:21:34 +05:30
Harshavardhana
069432566f
update license change for MinIO
...
Signed-off-by: Harshavardhana <harsha@minio.io>
2021-04-23 11:58:53 -07:00
Harshavardhana
90d8ec6310
fix: reject duplicate keys in PostPolicyJSON document ( #11902 )
...
fixes #11894
2021-03-25 13:57:57 -07:00
Harshavardhana
726d80dbb7
fix: merge duplicate keys in post policy ( #11843 )
...
some SDKs might incorrectly send duplicate
entries for keys such as "conditions", Go
stdlib unmarshal for JSON does not support
duplicate keys - instead skips the first
duplicate and only preserves the last entry.
This can lead to issues where a policy JSON
while being valid might not properly apply
the required conditions, allowing situations
where POST policy JSON would end up allowing
uploads to unauthorized buckets and paths.
This PR fixes this properly.
2021-03-20 22:16:30 -07:00
Anis Elleuch
778e9c864f
Move dependency from minio-go v6 to v7 ( #10042 )
2020-07-14 09:38:05 -07:00
Harshavardhana
2c0b3cadfc
Update go mod with sem versions of our libraries ( #7687 )
2019-05-29 16:35:12 -07:00
kannappanr
5ecac91a55
Replace Minio refs in docs with MinIO and links ( #7494 )
2019-04-09 11:39:42 -07:00
Praveen raj Mani
c0a1369b73
Construct dynamic XML error responses for postpolicyform validation ( #7321 )
...
Fixes #7314
2019-03-05 12:10:47 -08:00
Harshavardhana
e39d7ddb0f
Fix PostPolicy form tests without hardcoded dates ( #5337 )
...
Fixes #5336
2018-01-01 07:28:10 +05:30
Harshavardhana
5f7565762e
api: postPolicy cleanup. Simplify the code and re-use. ( #3890 )
...
This change is cleanup of the postPolicyHandler code
primarily to address the flow and also converting
certain critical parts into self contained functions.
2017-03-13 14:41:13 -07:00
Anis Elleuch
372da5eaf5
tests: Enhance checkPostPolicy() coverage ( #3389 )
2016-12-03 12:41:07 -08:00
Harshavardhana
d31f256020
Fail on lint errors during CI build.
2016-12-02 18:08:12 -08:00
Harshavardhana
d67f47927c
api: Fix the formatting issues in last patch.
2016-12-02 17:39:21 -08:00
Anis Elleuch
85bb5870a9
Post Policy Form: exhaustive post policy check ( #3386 )
...
Add support of all conditions check described in
http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html
and simplify a little bit the existing code
2016-12-02 17:00:33 -08:00
Krishna Srinivas
0f32efb825
PostPolicy - rename of files/functions + add testcases ( #3104 )
2016-10-26 10:15:57 -07:00