flownative / flow-aws-s3

Amazon S3 adaptor for Neos and Flow
MIT License
18 stars 33 forks source link

BUGFIX: pass upload options correctly #22

Closed darmstaedter closed 6 years ago

darmstaedter commented 6 years ago

Options for ContentLength and ContentType must be inside a params array inside the options array. (https://github.com/aws/aws-sdk-php/blob/master/src/S3/S3ClientInterface.php#L110-L148)

To recreate use minio. It will not get the right ContentType when you upload files via the Neos Media Manager.

Tested with minio and S3.

dfeyer commented 6 years ago

@kdambekalns @robertlemke can someone check this PR ?