Author: markt Date: Mon May 9 12:01:31 2016 New Revision: 1742933 URL: http://svn.apache.org/viewvc?rev=1742933&view=rev Log: Fix an IllegalArgumentException if the first use of an internal Response object requires JASPIC authentication.
Modified: tomcat/trunk/java/org/apache/catalina/connector/Response.java tomcat/trunk/webapps/docs/changelog.xml Modified: tomcat/trunk/java/org/apache/catalina/connector/Response.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/connector/Response.java?rev=1742933&r1=1742932&r2=1742933&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/connector/Response.java (original) +++ tomcat/trunk/java/org/apache/catalina/connector/Response.java Mon May 9 12:01:31 2016 @@ -245,7 +245,7 @@ public class Response implements HttpSer */ private final List<Cookie> cookies = new ArrayList<>(); - private HttpServletResponse applicationResponse = this; + private HttpServletResponse applicationResponse = null; // --------------------------------------------------------- Public Methods Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1742933&r1=1742932&r2=1742933&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Mon May 9 12:01:31 2016 @@ -204,6 +204,11 @@ constructed correctly according to the specification when <code>ALLOW-FROM</code> option is used. (violetagg) </fix> + <fix> + Fix an <code>IllegalArgumentException</code> if the first use of an + internal <code>Response</code> object requires JASPIC authentication. + (markt) + </fix> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org