Author: markt Date: Thu Sep 12 13:40:46 2013 New Revision: 1522576 URL: http://svn.apache.org/r1522576 Log: Apply clarification from the Servlet EG. Attempting to parse parts when no multi-part configuration has been provided will trigger an ISE.
Modified: tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties Modified: tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java?rev=1522576&r1=1522575&r2=1522576&view=diff ============================================================================== --- tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java (original) +++ tomcat/trunk/java/javax/servlet/http/HttpServletRequest.java Thu Sep 12 13:40:46 2013 @@ -477,7 +477,8 @@ public interface HttpServletRequest exte * @throws IOException * if an I/O error occurs * @throws IllegalStateException - * if size limits are exceeded + * if size limits are exceeded or no multipart configuration is + * provided * @throws ServletException * if the request is not multipart/form-data * @since Servlet 3.0 Modified: tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties?rev=1522576&r1=1522575&r2=1522576&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties (original) +++ tomcat/trunk/java/org/apache/catalina/connector/LocalStrings.properties Thu Sep 12 13:40:46 2013 @@ -47,6 +47,7 @@ coyoteRequest.uploadLocationInvalid=The coyoteRequest.sessionEndAccessFail=Exception triggered ending access to session while recycling request coyoteRequest.sendfileNotCanonical=Unable to determine canonical name of file [{0}] specified for use with sendfile coyoteRequest.maxPostSizeExceeded=The multi-part request contained parameter data (excluding uploaded files) that exceeded the limit for maxPostSize set on the associated connector +coyoteRequest.noMultipartConfig=Unable to process parts as no multi-part configuration has been provided coyoteResponse.getOutputStream.ise=getWriter() has already been called for this response coyoteResponse.getWriter.ise=getOutputStream() has already been called for this response --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org