You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by Oleg Kolobov <ok...@hcei.tsc.ru> on 2008/05/30 06:21:49 UTC

bug in parse_post_data

I'm using axkit2 from trunk/. It works fine with HTML-forms, but there
is a little bit trouble with file upload, which released in
parse_post_data plugin for encode type 'multipart/form-data'.

When I uploading a file (~100 kilobytes) to get the file has different
size in upload directory. Body of file changed and contains repeated
blocks of data. Body of file types like this

[begin of body file]
[...]
-----------------------------10426690666724327421518144280
Content-Disposition: form-data; name="datafile"; filename="xaaa.txt"
Content-Type: text/plain
[...]
[begin of body file]
[...]

I'm using default setting for parse_post_data.

--Oleg