jnicklas/carrierwave — pull request #537 by spyyddir (2011-11-23 01:22:02+00:00)
Title: Change public_url regex to not break ssl on AWS buckets with "." names

Currently, if the bucket has any dots in the name the AWS wildcard ssl certificate will be invalid, since it only works for the first level of subdomains off amazonaws.com. This commit changes the regex to drop down to the s3.amazonaws.com/bucket urls for bucket names with containing "."s.