Wait, isn’t the dot restriction because it causes HTTPS to fail?
yes, it is:
ssl.CertificateError: hostname 'my.bucket.s3.amazonaws.com' doesn't match either of '*.s3.amazonaws.com', 's3.amazonaws.com'
It’s the SSL certificate, not the gem.
edit: If discourse isn’t always using SSL to talk to s3, that should be fixed. Both on server and client.