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/26 23:07:39 UTC

DO NOT REPLY [Bug 5101] New: - org.apache.struts.upload.MultipartIterator

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

org.apache.struts.upload.MultipartIterator

           Summary: org.apache.struts.upload.MultipartIterator
           Product: Struts
           Version: 1.0 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: wolfgang@openfuture.de


org.apache.struts.upload.MultipartIterator.getNextElement() does not expect, 
that a content type may also be set in the case of a simple form part (i.e. not 
a file part). See definition in RFC2388 for details.

If the content type is set, getNextElement() reads the blank line by mistake as 
part of the form value part.

This error does occur within a testcase using struts and HttpUnit 1.2.7, where 
the content type is always set.

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