ZF-3981: Zend_Validate_file_Extension: Should not be case-sensitive


for example: jpg != JPG != Jpg


Extension.php - addExtension - line 134: $this->_extension = strtolower(implode(',', $extensions));

Extension.php - isValid - line 163: if (in_array(strtolower($info['extension']), $extensions)) {


Scheduling for RC3

This is only true for windows.

In *nix there is a difference if a file is named a.gif or a.GIF... these are two files. Because this adapter is not designed for HTTP only the solution is not just to lowercase all extensions !!!

Behaviour changed with r10985. Default is case insensitive, can be changed to sensitive by parameter.

Updating for the 1.6.0 release.