Unit incompatibility betweenFileUpload.setFileSizeMax and
FileUploadBase$FileItemIteratorImpl
---------------------------------------------------------------------------------------------
Key: FILEUPLOAD-152
URL: https://issues.apache.org/jira/browse/FILEUPLOAD-152
Project: Commons FileUpload
Issue Type: Bug
Affects Versions: 1.2
Reporter: Duzakropka
Priority: Minor
FileUploadBase$FileItemIteratorImpl.FileItemStreamImpl
If we have too big file (binary, for example) and
FileSizeLimitExceededException will be thrown you're always creating message:
"The field " + fieldName + " exceeds its maximum permitted " + " size of " +
pSizeMax + " characters."
Size limit is setting using bytes, in this message user will have an
information about too many characters...
Can you change message to use that same unit?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.