Revision: 1448
http://stripes.svn.sourceforge.net/stripes/?rev=1448&view=rev
Author: bengunter
Date: 2011-12-01 21:34:46 +0000 (Thu, 01 Dec 2011)
Log Message:
-----------
Fixed STS-837: maxPostSizeInBytes in DefaultMultipartWrapperFactory is invalid
for big values
Modified Paths:
--------------
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
Modified:
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
===================================================================
---
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
2011-12-01 21:10:52 UTC (rev 1447)
+++
branches/1.5.x/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
2011-12-01 21:34:46 UTC (rev 1448)
@@ -124,7 +124,7 @@
else {
String digits = matcher.group(1);
String suffix = matcher.group(2).toLowerCase();
- int number = Integer.parseInt(digits);
+ long number = Long.parseLong(digits);
if ("k".equals(suffix)) { number = number * 1024; }
else if ("m".equals(suffix)) { number = number * 1024 * 1024;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
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