www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jon * <...@clearink.com>
Subject Re: mod_jserv/5266: servlets forms do not work with Mozzila M9
Date Sun, 07 Nov 1999 20:40:00 GMT
The following reply was made to PR mod_jserv/5266; it has been noted by GNATS.

From: jon * <jon@clearink.com>
To: <pbryant@bigfoot.com>
Cc: <apbugs@apache.org>
Subject: Re: mod_jserv/5266: servlets forms do not work with Mozzila M9
Date: Sun, 07 Nov 1999 12:38:47 -0800

 > In ExtendedProperties.PropertiesReader readProperty():
 > 
 > while (true) {
 > String line = readLine();
 > //pb
 > if(line==null) {
 > return null;
 > }
 > line = line.trim();
 
 this isn't needed because it is already in a try/catch NPE which returns
 null.
 
 > In JservConnection.parseParams()
 > 
 > //pb
 > String contentType = getContentType();
 > // Parse any posted parameters in the input stream
 > Hashtable postParameters = null;
 > if ("POST".equals(getMethod()) &&
 > //"application/x-www-form-urlencoded".equals(contentType)) {
 > //pb - to get around character encodings after content-type
 > // (e.g. M9 sends Content-type:
 > application/x-www-form-urlencoded; charset=ISO-8859-1)
 > contentType!=null && contentType
 > .startsWith("application/x-www-form-urlencoded")) {
 > try {
 > ServletInputStream is = getInputStream();
 > postParameters =
 
 fixed in cvs now. thanks.
 
 -jon
 

Mime
View raw message