Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.7
-
Fix Version/s: 1.10.0
-
Component/s: Zend_Validate_File
-
Labels:None
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.
This small patch seems to fix the issue. Again, I haven't tested the FilesSize part.