Closed
Description
I realized that the accept Validator is not working like the accept attribute in HTML. The accept attribute is case insensitive but the accept Validator in FileInputValidator
is case sensitive.
The parseAttribute
function get the accept attribute value as lowercase and the check in isAcceptedByExtension
works with endsWith
which is case sensitive. So all files which has upper case file extension will be a wrong extension.
I will provide a pull request in the near future.
kind regards,
nischi
Metadata
Metadata
Assignees
Labels
No labels