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 2002/06/07 16:29:00 UTC

DO NOT REPLY [Bug 9695] New: - Some line feeds skipped when posting a TEXTAREA in a MULTIPART/FORM-DATA form

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

Some line feeds skipped when posting a TEXTAREA in a MULTIPART/FORM-DATA form

           Summary: Some line feeds skipped when posting a TEXTAREA in a
                    MULTIPART/FORM-DATA form
           Product: Struts
           Version: 1.1 Beta 1
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: eb@fullsix.com


It seems that some line feeds in textarea elements of a form submitted in a
multipart/form-data post are lost somewhere in struts.

According to ethereal, what my browser posts is :

[...]
-----------------------------211436593311589963611692675617
Content-Disposition: form-data;
name="propertyValue(blocks).compositeValue[0].value[1].textValue[0]"

text 1
text 2
text 3
[other elements]

What I get in setTextValue is :

text 1text 2
text 3

It seems that the first line feed is lost somewhere.

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