[
http://www.stripesframework.org/jira/browse/STS-837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter resolved STS-837.
----------------------------
Resolution: Fixed
Fix Version/s: Release 1.5.7
Assignee: Ben Gunter
> maxPostSizeInBytes in DefaultMultipartWrapperFactory is invalid for big values
> ------------------------------------------------------------------------------
>
> Key: STS-837
> URL: http://www.stripesframework.org/jira/browse/STS-837
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.5.6
> Environment: Using commons fileupload.
> Reporter: Christian Poitras
> Assignee: Ben Gunter
> Priority: Minor
> Fix For: Release 1.5.7
>
>
> When specifying a big value like 2gb for FileUpload.MaximumPostSize, the
> resulting value will greatly differ from the expected value.
> This is due to the use of an integer to compute the maximum size at line 127.
> To solve the issue, replace
> int number = Integer.parseInt(digits);
> By
> long number = Long.parseLong(digits);
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development