ZF-6576: Zend_Filter_File_Rename getNewName parameters (Bit of Zend_Transfer_Adapter_Http too)
In 1.8.0 Beta you would get the original filename in the getNewName function, in the 1.8.0 release it was changed to the temporary name.
So currently we have extended the Zend_Filter_File_Rename because we want to apply our own naming scheme to the uploaded files, But we still need to know the original files extension to do this. Before we got the original filename and could use that, now we get the temporary name, which on Windows includes a .tmp extension and on linux doesn't have an extension at all.
At the point where the function get's called (in the Zend_Transfer_Adapter_Http line 163) the $this->_files property hasn't been set yet. We could do it in a hackish way and get the information from $_FILES, but I much rather have all the information available to the function at that point.