file upload?

View: New views
3 Messages — Rating Filter:   Alert me  

file upload?

by davidnwelton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Massimo, you mentioned to me that he'd been encountering some problems
with file upload on Apache 2.0... I was going to ask and see if you'd
had a chance to look into that any further?

--
David N. Welton

http://www.welton.it/davidw/

http://www.dedasys.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@...
For additional commands, e-mail: rivet-dev-help@...


Re: file upload?

by Massimo Manghi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 24 Aug 2008 11:30:40 +0200, David Welton wrote
> Massimo, you mentioned to me that he'd been encountering some
> problems with file upload on Apache 2.0... I was going to ask and
> see if you'd had a chance to look into that any further?
>

I started to work on that. I began to review the code in
apache_request.c and Tclwebapache.c. I haven't worked on these
modules so far.

-- Massimo



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@...
For additional commands, e-mail: rivet-dev-help@...


Re: file upload?

by Massimo Manghi-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Welton wrote:
> Massimo, you mentioned to me that he'd been encountering some problems
> with file upload on Apache 2.0... I was going to ask and see if you'd
> had a chance to look into that any further?
>
>  
I found a couple of bugs in apache_multipart_buffer: one was easy to fix
as it was simply about an argument rejected by apr_file_mktemp. The
second bug occurs in a reproducible way by adding
a <input type="hidden" .... /> as first input element in the upload form.
I'm certain the problem is more general though, since Rivet fails to parse
correctly the whole multipart message (basically:
everything gets into a variable that bears the name of the hidden input
element). I going to work on this soon.

The whole parsing mechanism is quite complex and I wonder whether
relying on the apr_string_* functions could be of any help in having it
more simple and stable.
My first goal in to make it functioning again with the least possible
changes


 -- Massimo



---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@...
For additional commands, e-mail: rivet-dev-help@...

LightInTheBox - Buy quality products at wholesale price!