aws-s3
aws-s3 copied to clipboard
Base URL is overwritten on bucket input blur
It tries to infer the base url, but it should really only do this if that field is empty.
Screencast: https://drive.google.com/file/d/10Te4cS53NojIQDyXEKO1i36nhNR_wS8d/view
As a corollary to this, if the bucket name is set to an environment variable, say $S3_BUCKET_NAME, then the auto-generated Base URL gets written as https://s3.[region].amazonaws.com/$S3_BUCKET_NAME/ and used as a literal string without the bucket name being interpolated into the Base URL. This causes requests such as this to appear in the browser:
GET https://s3.us-east-2.amazonaws/$S3_BUCKET_NAME/assets/images/globals/logo.png
...which clearly won't work. 😞
This is still an issue.