You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Remy Maucherat <re...@exoffice.com> on 2000/05/03 20:24:08 UTC

[Catalina] [Patch] Very minor character encoding bug fix

Fixes the following bug :
While trying to open a reader on the request input stream, the specified
character encoding could be null.

===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomca
t/connector/Constants.java,v
retrieving revision 1.2
diff -r1.2 Constants.java
76a77
> public static final String DEFAULT_CHARACTER_ENCODING = "8859_1";


===================================================================
RCS file:
/home/cvspublic/jakarta-tomcat/proposals/catalina/src/share/org/apache/tomca
t/connector/RequestBase.java,v
retrieving revision 1.7
diff -r1.7 RequestBase.java
705a706,709
> String encoding = getCharacterEncoding();
> if (encoding == null) {
> encoding = Constants.DEFAULT_CHARACTER_ENCODING;
> }
708c712
< getCharacterEncoding());
---
> encoding);

Remy