tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/docs changelog.xml
Date Mon, 29 Nov 2004 23:00:30 GMT
markt       2004/11/29 15:00:30

  Modified:    catalina/src/share/org/apache/catalina/servlets
                        CGIServlet.java
               webapps/docs changelog.xml
  Log:
  Fix bug 32340. Class cast exceptions from toString() method.
   - Reported by Mark Claassen.
   - Ported from TC4
  
  Revision  Changes    Path
  1.31      +6 -6      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java
  
  Index: CGIServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- CGIServlet.java	29 Nov 2004 22:08:40 -0000	1.30
  +++ CGIServlet.java	29 Nov 2004 23:00:30 -0000	1.31
  @@ -1713,7 +1713,7 @@
                               contentStream.write(lineSep.getBytes());
                               contentLength = lineSep.length() + lenRead;
                           }
  -                        env.put("CONTENT_LENGTH", new Integer(contentLength));
  +                        env.put("CONTENT_LENGTH", Integer.toString(contentLength));
                       }
                   }
   
  
  
  
  1.188     +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.187
  retrieving revision 1.188
  diff -u -r1.187 -r1.188
  --- changelog.xml	29 Nov 2004 22:08:40 -0000	1.187
  +++ changelog.xml	29 Nov 2004 23:00:30 -0000	1.188
  @@ -85,6 +85,9 @@
         <fix>
           <bug>32431</bug>: Fix typo in code that passes data to CGI script.
(markt)
         </fix>
  +      <fix>
  +        <bug>32430</bug>: Class cast exception in toString() method within
CGI servlet. (markt)
  +      </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