tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remy Maucherat" <r...@exoffice.com>
Subject [Catalina] [Patch] Very minor character encoding bug fix
Date Wed, 03 May 2000 18:24:08 GMT
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


Mime
View raw message