Skip to content

fixed s3based.js uploader to make ACL=private to work with AWS s3

Phil Harrison requested to merge philhar88/Shinobi:master into master

In 2019 AWS changed the upload rules for objects. You must now set the ACL to be private on object upload. This merge fixes the ACL so that s3 based network storage will work.

This change will ask the user for a deliveryHostname in the config page and then replace that in the hostname field for the bucket URL. A user could use CloudFront, Cloudfare etc as the deliveryHostname and configure it to point back to the s3-like bucket.

Edited by Phil Harrison

Merge request reports