Skip to content

Allow wildcard '*' MIME types in allowed_types #12

@justrhysism

Description

@justrhysism

It's perfectly valid to set the HTML5 file input accept attribute with a wildcard subtype for a MIME type.

e.g. for images: image/* is valid

Currently the allowed_types doesn't consider wildcards, and requires each specific type to be declared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions