tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
Date Thu, 17 Jun 2004 01:26:20 GMT
luehe       2004/06/16 18:26:20

  Modified:    webapps/docs changelog.xml
  Log:
  Fixed Bugtraq 5062838 ("ServletResponse.setContentType sets response encoding after getWriter
was called")
  
  According to Servlet API, a call to
  
    ServletResponse.setContentType("<mime>; charset=<charset>")
  
  1. has no effect if response has already been committed.
  2. sets only the media type (<mime>), but *not* the response charset
     if getWriter() has already been called.
  
  TC currently violates 2.
  
  Revision  Changes    Path
  1.70      +3 -0      jakarta-tomcat-catalina/webapps/docs/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- changelog.xml	16 Jun 2004 18:04:38 -0000	1.69
  +++ changelog.xml	17 Jun 2004 01:26:20 -0000	1.70
  @@ -36,6 +36,9 @@
         <fix>
           <bug>29561</bug>: NullPointerException in Compiler.java:547 (luehe)
         </fix>
  +      <fix>
  +        ServletResponse.setContentType sets response encoding after getWriter was called
(Bugtraq 5062838) (luehe)
  +      </fix>
       </changelog>
     </subsection>
   
  
  
  

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


Mime
View raw message