DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9376>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9376

HttpRequest.getParameter(..) can fail with NPE when characterencoding is set

           Summary: HttpRequest.getParameter(..) can fail with NPE when
                    characterencoding is set
           Product: Cocoon 2
           Version: Current CVS
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The org.apache.cocoon.environment.http.HttpRequest class malfunctions when the
characterencoding is set and a parameter is being requested that is not in the
underlying request object from the web container.

The reason being that if the character encoding is set in the HttpRequest
object, a private method called encode is called with the parameter retrieved
from the web container request object; this can be null! and this null condition
is not checked for in HttpRequest.java.

I hope this is the way to submit patches to bugzilla - if not, bear over with me.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to