minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
78 stars 50 forks source link

aws-sdk-ruby presignedPost send file first instead of last #335

Closed trinity-1686a closed 2 years ago

trinity-1686a commented 2 years ago

From AWS Doc : "The file or text content must be the last field in the form."

Looking at a pcap dump, and at how presignedPost is implemented, it does not follow AWS documentation, it sends file first, and everything else after. It should be a matter of initializing parts to an empty array, and .push()ing file_part after the loop here

harshavardhana commented 2 years ago

Feel free to send a fix @trinity-1686a