-
IssueAfter upgrading from Laravel 8 + Media Library v8 to Laravel 9 + Media Library v10, files uploaded to S3 using: addCustomHeaders(['ACL' => 'public-read']) are no longer assigned the On Laravel 8 / Media Library v8:
After upgrading:
This appears related to the upgrade to: league/flysystem-aws-s3-v3 ^3.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This seems to be caused by Flysystem v3. In $options['params']['ACL'] However, the adapter later tries to read: $options['ACL'] Because of this mismatch, the ACL option is ignored during upload. I've opened a PR to address this. |
Beta Was this translation helpful? Give feedback.
This seems to be caused by Flysystem v3.
In
createOptionsFromConfig(), configuration values are appended under theparamskey.As a result, the ACL is stored as:
$options['params']['ACL']
However, the adapter later tries to read:
$options['ACL']
Because of this mismatch, the ACL option is ignored during upload.
I've opened a PR to address this.