tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1335731 - /tomcat/trunk/java/org/apache/catalina/connector/Request.java
Date Tue, 08 May 2012 20:05:00 GMT
Author: markt
Date: Tue May  8 20:05:00 2012
New Revision: 1335731

URL: http://svn.apache.org/viewvc?rev=1335731&view=rev
Log:
Ensure maxParameterCount applies to multi-part requests handled via Servlet 3.0 upload

Modified:
    tomcat/trunk/java/org/apache/catalina/connector/Request.java

Modified: tomcat/trunk/java/org/apache/catalina/connector/Request.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Request.java?rev=1335731&r1=1335730&r2=1335731&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/connector/Request.java (original)
+++ tomcat/trunk/java/org/apache/catalina/connector/Request.java Tue May  8 20:05:00 2012
@@ -2468,6 +2468,7 @@ public class Request
         }
 
         Parameters parameters = coyoteRequest.getParameters();
+        parameters.setLimit(getConnector().getMaxParameterCount());
 
         boolean success = false;
         try {



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message