[seam-commits] Seam SVN: r9129 - trunk/src/main/org/jboss/seam/web.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Sep 23 17:12:52 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-09-23 17:12:52 -0400 (Tue, 23 Sep 2008)
New Revision: 9129

Modified:
   trunk/src/main/org/jboss/seam/web/MultipartFilter.java
Log:
JBSEAM-3448

Modified: trunk/src/main/org/jboss/seam/web/MultipartFilter.java
===================================================================
--- trunk/src/main/org/jboss/seam/web/MultipartFilter.java	2008-09-23 19:34:38 UTC (rev 9128)
+++ trunk/src/main/org/jboss/seam/web/MultipartFilter.java	2008-09-23 21:12:52 UTC (rev 9129)
@@ -77,8 +77,13 @@
 
       if (isMultipartRequest(httpRequest))
       {
-         chain.doFilter(new MultipartRequestImpl(httpRequest, createTempFiles, 
-                  maxRequestSize), response);
+         MultipartRequest multipartRequest = new MultipartRequestImpl(httpRequest, createTempFiles, 
+               maxRequestSize); 
+         
+         // Force the request to be parsed now
+         multipartRequest.getParameterNames();
+         
+         chain.doFilter(multipartRequest, response);
       }
       else
       {




More information about the seam-commits mailing list