You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Volker Schneider <vo...@danet.de> on 2002/06/19 18:32:40 UTC
Bug in Cocoon2: HttpRequest
Hi colleagues,
we have found a bug in class HttpRequest (Cocoon 2.0.2) as follows:
public String getParameter(String name) {
String value = this.req.getParameter(name);
if ((this.form_encoding == null) || (value == null)) {
return value;
}
return decode(value);
}
The variable "value" has to be checked against null. Then
request.setCharacterEncoding("UTF-8") will work. Pleas add this bug to your
buglist, if it has not been fixed yet.
Best regards
- Volker -
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>