Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.2
-
Fix Version/s: 1.6.2
-
Component/s: Zend_Validate_File
-
Labels:None
Description
Zend_Validate_File fails to identify the file extension of file names with more than one dot.
For example:
File name: 41E6HW92CYL.AA240.jpg
Extension determined by Zend_Validate_File: AA240.jpg
I don't see how you should get this output.
In both, branch 1.6 and trunk (1.7) the extension is detected by
in the isValid method.
As you see the extension is the last rightest dot to the end. (str r pos).
Both files are 5 weeks old and should be in 1.6 as also 1.7 Pre.