Revision: 478
http://svn.sourceforge.net/stripes/?rev=478&view=rev
Author: bengunter
Date: 2007-03-03 20:07:21 -0800 (Sat, 03 Mar 2007)
Log Message:
-----------
Resolved STS-328: CommonsMultipartWrapper did not use character encoding from
HttpServletRequest
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
Modified:
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
===================================================================
---
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
2007-03-04 03:32:12 UTC (rev 477)
+++
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
2007-03-04 04:07:21 UTC (rev 478)
@@ -80,7 +80,7 @@
values = new ArrayList<String>();
params.put(item.getFieldName(), values);
}
- values.add(item.getString());
+ values.add(charset == null ? item.getString() :
item.getString(charset));
}
// Else store the file param
else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development