ZF-8875: Zend_Validate_File_Size error message does not display file size if usebytestring = false
Description
As in the summary. If 'bytestring' => false is given as an option, the templated error message does not display the uploaded file's original size. e.g.:
Maximum allowed size for file 'libcurl-4.dll' is '1024' but '' detected
A quick glance suggests Zend_Validate_File_FilesSize may have the same error, but I haven't tested it.
Comments
Posted by Orhan Kavrakoglu (aib) on 2010-01-19T14:21:35.000+0000
This small patch seems to fix the issue. Again, I haven't tested the FilesSize part.
Posted by Thomas Weidner (thomas) on 2010-01-20T14:54:59.000+0000
Fixed with r20455