Closed (fixed)
Project:
Webform
Version:
7.x-3.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2011 at 12:59 UTC
Updated:
31 Aug 2011 at 05:41 UTC
Jump to comment: Most recent file
Hello, I've found bug in file component. File type validation fails on file names ending with diacritics (czech characters like žščř).
I fixed it using instead of strrpos() use mb_strrpos().
I created a patch.
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.