The discussion addresses a feature request to allow the dot (.) symbol in Discourse bucket names, aligning with Amazon S3’s naming rules dmitry_fedyuk. While zogstrip initially noted that previous restrictions were due to a deprecated S3 gem, riking clarified that the actual barrier is an SSL certificate error: using dots in bucket names causes hostname mismatches when accessing S3 via HTTPS. Consequently, sam agreed that maintaining the restriction is necessary to ensure secure, SSL-compliant connections, suggesting s3_cdn as an alternative for users seeking vanity names. Following this analysis, zogstrip implemented a fix in commit 5de9554 to resolve the issue.
Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.).
<…>
The following examples are valid bucket names:
<…>
my.aws.bucket
Using a domain name as a bucket name is so naturally, especially for site backup, so it would be nice if Discourse will support it.
We did that because we had issues with the gem we used to communicate with S3. Now that we’ve got rid of it, I think it’s safe to loosen the check a bit.