Skip to content

FileValidator issue with uppercase extensions #20687

Description

@neoacevedo

When I upload a file with its extension in uppercase, for instance .PNG, although in the validation rule I have set 'extensions' => 'png, jpg, jpeg', 'mimeTypes' => 'image/png, image/jpg, image/jpeg', when I upload a file with uppercase extension, the validation raises the error Only files with these extensions are allowed: png, jpg, jpeg regardless if I set the extensions in lowercase and uppercase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions