ZF-4691: Problem with multiple dots in the file name
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
Comments
Posted by Thomas Weidner (thomas) on 2008-10-23T11:39:51.000+0000
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.
Posted by Thomas Weidner (thomas) on 2008-10-23T11:43:59.000+0000
Not in 1.6.1.... but as I said... this bug was solved 5 weeks ago before 1.6.2 has been released. Maybe you are using 1.6.1 and not 1.6.2 ?
Posted by André Hoffmann (antihero) on 2008-10-24T07:33:16.000+0000
Yes you are right, I'm using 1.6.1.
Didn't find a ticket for it though.
Nevermind.