On 21/01/2011 17:46, schu...@apache.org wrote: > Author: schultz > Date: Fri Jan 21 17:46:03 2011 > New Revision: 1061929 > > URL: http://svn.apache.org/viewvc?rev=1061929&view=rev > Log: > Fixed bug #49711: HttpServletRequest#getParts() does not work in a Filter > - Added <Connector> attribute allowCasualMultipartParsing (default false) > - Requests that contain multipart/form-data will be parsed in the absence of > @MultipartConfig when the above attribute is set to "true"
Looks like a few unintended changes also got committed and need to be reverted as well as a couple of typos. > --- tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java > (original) > +++ tomcat/trunk/java/org/apache/catalina/ant/AbstractCatalinaTask.java Fri > Jan 21 17:46:03 2011 > @@ -170,6 +170,7 @@ public abstract class AbstractCatalinaTa > URLConnection conn = null; > InputStreamReader reader = null; > try { > + openRedirector(); > > // Create a connection for this command > conn = (new URL(url + command)).openConnection(); > > --- tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java (original) > +++ tomcat/trunk/java/org/apache/tomcat/util/net/AprEndpoint.java Fri Jan 21 > 17:46:03 2011 > @@ -242,6 +242,9 @@ public class AprEndpoint extends Abstrac > public String getSSLCipherSuite() { return SSLCipherSuite; } > public void setSSLCipherSuite(String SSLCipherSuite) { > this.SSLCipherSuite = SSLCipherSuite; } > > + protected boolean SSLFIPSMode = false; > + public boolean getSSLFIPSMode() { return SSLFIPSMode; } > + public void setSSLFIPSMode(boolean SSLFIPSMode) { this.SSLFIPSMode = > SSLFIPSMode; } > > /** > * SSL certificate file. > > Modified: tomcat/trunk/webapps/docs/config/ajp.xml > URL: > http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/ajp.xml?rev=1061929&r1=1061928&r2=1061929&view=diff > ============================================================================== > --- tomcat/trunk/webapps/docs/config/ajp.xml (original) > +++ tomcat/trunk/webapps/docs/config/ajp.xml Fri Jan 21 17:46:03 2011 > @@ -74,6 +74,17 @@ > > <attributes> > > + <attribute name="allowCasualMultipartParsing" required="false"> > + <p>Set to true if Tomcat should automatically parse > + multipart/form-data request bodies when HttpServletRequest.getPart* > + or HttpServletRequest.getParameter* is called, even when the > + target servlet isn't marked with the @MultipartConfig annotation > + (See Servlet Specification 3.0, Section 3.2 for details). > + Note that any setting other than <code>true</code> causes Tomcat I think you mean false here. > --- tomcat/trunk/webapps/docs/config/http.xml (original) > +++ tomcat/trunk/webapps/docs/config/http.xml Fri Jan 21 17:46:03 2011 > @@ -74,6 +74,17 @@ > > <attributes> > > + <attribute name="allowCasualMultipartParsing" required="false"> > + <p>Set to true if Tomcat should automatically parse > + multipart/form-data request bodies when HttpServletRequest.getPart* > + or HttpServletRequest.getParameter* is called, even when the > + target servlet isn't marked with the @MultipartConfig annotation > + (See Servlet Specification 3.0, Section 3.2 for details). > + Note that any setting other than <code>true</code> causes Tomcat Ditto. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org