Problem/Motivation
Hello, I've found bug in file component. File type validation fails on file names ending with diacritics (czech characters like žščř).
Proposed resolution
I fixed it using instead of strrpos() use mb_strrpos().
I created a patch.
Remaining tasks
reviews needed
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_file_strrpos.patch | 633 bytes | quicksketch |
| file.inc_.php_.patch | 609 bytes | strndy |
Comments
Comment #1
quicksketchThanks, I've committed this fix based on your suggestion.