aws-s3 icon indicating copy to clipboard operation
aws-s3 copied to clipboard

S3 Base URL Generation Using Deprecated URL

Open iamderrick opened this issue 4 years ago • 2 comments

When the plugin automatically tries to generate the base URL for a publically accessible S3 bucket, it uses the old path-style model rather than the new virtual-hosted model. This older URL model does not work with newer S3 buckets. See: https://aws.amazon.com/blogs/aws/amazon-s3-path-deprecation-plan-the-rest-of-the-story/

iamderrick avatar Oct 04 '21 14:10 iamderrick

I personally have no preference here, but you should know that @timkelty will have an opinion.

Context: #34

andris-sevcenko avatar Oct 05 '21 13:10 andris-sevcenko

Yeah, as long as it's https by default, prob should go with the virtual-hosted version. @iamderrick happy to review a PR, otherwise we'll get to it soon.

timkelty avatar Oct 05 '21 13:10 timkelty

It looks like the plans to deprecate the old path-style have been put on pause somewhat indefinitely. Either way, I've opened a PR to address this.

brianjhanson avatar Jan 13 '23 19:01 brianjhanson

Amazon S3 1.3.1 (Craft 3) and 2.0.2 (Craft 4) are out now, and use the new URL format by default.

brandonkelly avatar Mar 16 '23 22:03 brandonkelly