Skip to content

Fog storage valid subdomain check incorrect for s3 #531

@zacclark

Description

@zacclark

https://github.com/jnicklas/carrierwave/blob/master/lib/carrierwave/storage/fog.rb#L256

The current regex allows dots in the fog_directory when using the subdomain style urls to AWS. However, the AWS wildcard ssl certificate won't work if the bucket name has a dot. While dots are valid in subdomains, breaking ssl seems to nullify the point of allowing them here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions