Skip to content

remove checks dots in getS3Domain function to make S3 url works#52

Open
qwertmax wants to merge 1 commit intojustafish:7.x-2.xfrom
qwertmax:7.x-2.x
Open

remove checks dots in getS3Domain function to make S3 url works#52
qwertmax wants to merge 1 commit intojustafish:7.x-2.xfrom
qwertmax:7.x-2.x

Conversation

@qwertmax
Copy link
Copy Markdown

@qwertmax qwertmax commented Apr 6, 2017

For some reason, when S3 bucket has dots in name (e.g: assets.domain.com), Amazons3 Module make S3URL wrong...

Example:

https://s3.amazonaws.com/assets.domain.com/cat.jpeg

https://s3.amazonaws.com/{bucket_name}/cat.jpeg

New way is:

https://assets.domain.com.s3.amazonaws.com/cat.jpeg

https://[bucket_name].s3.amazonaws.com/cat.jpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant