ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | September 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] Patch for com.lutris.mime.MultipartMimeInputStream class


Thanks for Your contribution.

Your patch will be included in next Enhydra 5.1 release!

 

Regards,
    Slobodan Vujasinovic
Enhydra Development Team
 
----- Original Message -----
Sent: Tuesday, September 14, 2004 00:49
Subject: [enhydra] Patch for com.lutris.mime.MultipartMimeInputStream class

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.



--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.