cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans>
Subject the multipartparser
Date Tue, 02 Nov 2004 14:29:15 GMT

Is there a reason why we have our own multipart parser instead of using 
commons-fileupload? This has come up already about 1.5 years ago [1].

I have a problem with the multipart parser in IE and Opera (not in 
Firefox), reproduceable with the following form

<form name="myform" enctype="multipart/form-data" action="anypipeline" 
<input type="submit"/>

results in
o.a.c.s.m.MultipartException: Malformed stream
at o.a.c.s.m.MultipartParser.parseMultiPart(
at o.a.c.s.m.MultipartParser.getParts(
at o.a.c.s.m.MultipartParser.getParts(
at o.a.c.s.m.RequestFactory.getServletRequest(
at o.a.c.s.CocoonServlet.service(
at javax.servlet.http.HttpServlet.service(

There is at least one other issue with it [2], and parsePart() in 
MultiPartParser contains "// FIXME: multipart/mixed parts are untested."

Just wanted to get a few opinions before i attempt to implement this.



View raw message