Revision: 518
http://svn.sourceforge.net/stripes/?rev=518&view=rev
Author: bengunter
Date: 2007-04-02 07:55:11 -0700 (Mon, 02 Apr 2007)
Log Message:
-----------
Forgot a couple of important lines of code on my previous merge to fix STS-328
Modified Paths:
--------------
branches/1.4.x/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
Modified:
branches/1.4.x/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
===================================================================
---
branches/1.4.x/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
2007-04-02 14:49:03 UTC (rev 517)
+++
branches/1.4.x/stripes/src/net/sourceforge/stripes/controller/multipart/CommonsMultipartWrapper.java
2007-04-02 14:55:11 UTC (rev 518)
@@ -46,6 +46,7 @@
public class CommonsMultipartWrapper implements MultipartWrapper {
private Map<String,FileItem> files = new HashMap<String,FileItem>();
private Map<String,String[]> parameters = new HashMap<String, String[]>();
+ private String charset;
/**
* Pseudo-constructor that allows the class to perform any initialization
necessary.
@@ -63,6 +64,7 @@
public void build(HttpServletRequest request, File tempDir, long
maxPostSize)
throws IOException, FileUploadLimitExceededException {
try {
+ this.charset = request.getCharacterEncoding();
DiskFileItemFactory factory = new DiskFileItemFactory();
factory.setRepository(tempDir);
ServletFileUpload upload = new ServletFileUpload(factory);
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