discourse/discourse — pull request #2630 by jrust (2014-08-07 00:04:57+00:00)
Title: Fix the regex for S3 bucket names

Current regex disallows valid bucket names like `foo.bar`. This regex
complies with the guidelines laid out in the [S3 Bucket
Restrictions](https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html)
document.