You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2001/11/07 17:40:50 UTC

DO NOT REPLY [Bug 4704] New: - MultiPartRequestHandler().getTextElements() doesn't contain some parameters

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=4704>.
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=4704

MultiPartRequestHandler().getTextElements() doesn't contain some parameters

           Summary: MultiPartRequestHandler().getTextElements() doesn't
                    contain some parameters
           Product: Struts
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: roland@tichny.org


When extracting a multipart form sometimes not all textual parameters within 
the form are accessible via the getTextElements() method. Unfortunately, this
behaviour seems to depend on browser version and/or file to be uploaded. I.e.
sometimes hidden parameters are sent, sometimes are not. 

For example, the same form submitted from two different clients (Mozilla
0.9.4/Linux and Mozilla 0.9.5/Windows) show the following text parameters extracted:

Succesful case:
Multipart Parameters:
{com.consol.cmjsp.control.action.BaseAction.FORM_ACTION=[Ljava.lang.String;@26c214,
cm-submit.y=[Ljava.lang.String;@fba26, description=[Ljava.lang.String;@651db,
cm-submit.x=[Ljava.lang.String;@681629, call-id=[Ljava.lang.String;@6f716}

Unsucessful case:
Multipart Parameters: {description=[Ljava.lang.String;@51e202}

description,call-id and so on are "normal" form parameters within the form.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>