cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14905] New: - [PATCH] HttpRequest.getParameterValues() broken when form_encoding set
Date Wed, 27 Nov 2002 18:46:38 GMT
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=14905>.
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=14905

[PATCH] HttpRequest.getParameterValues() broken when form_encoding set

           Summary: [PATCH] HttpRequest.getParameterValues() broken when
                    form_encoding set
           Product: Cocoon 2
           Version: 2.0.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: core
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: artur@digitalfairway.com


This patch fixes a bug where the cocoon's HttpRequest.getParameterValues(String)
method throws NullPointerException when given parameter does not exist and
form_encoding is anything but null. 
I've also added optimization so that container_encoding is not checked for
null in every invocation of the HttpRequest.decode(String) method.

This patch is against cocoon_2_0_3_branch of environment/http/HttpRequest.java

Artur...

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message