Mail Archive Home | enhydra List | September 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
|
Hi there,
I have found that when using the
MultipartMimeInput class in the com.lutris.mime package to process multipart
form data, no parameters are being picked up from the headers in the individual
parts handled by the MultipartMimeInputStream class (i.e. from a header
line such as 'Content-Disposition: form-data;
name="uploadedfile"; filename="example.txt"', neither the 'name' nor 'filename'
parameters are extracted). This seems to be due to a lack of any call to
the parseParameters() method in the MimeHeader class (this method is called
within the constructor for the ContentHeader class, which extends
MimeHeader).
Please find attached the diff for
a patch (applicable for the
'modules/Core/src/com/lutris/mime/MultipartMimeInputStream.java' file
in 'enhydra-5.1-15.src.zip') suggested for a future maintenance
release of Enhydra, which resolves the problem by using the ContentHeader class
instead of the MimeHeader class. However, if there is a more appropriate patch for this problem, please
let me know.
Thanks in advance,
Michael Strapp.
|
Attachment:
MultipartMimeInputStream.diff
Description: Binary data
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.