Re: multipart upload become garbage
Re: multipart upload become garbage
- Subject: Re: multipart upload become garbage
- From: Q <email@hidden>
- Date: Fri, 7 Jan 2011 08:51:25 +1000
On 07/01/2011, at 2:27 AM, Yung-Luen Lan wrote:
> It's been a while that I'm too busy to dig into this problem.
>
> Anyway, I found the WebObjects FastCGI adaptor is buggy when you want
> to upload binary files using form because the code use strncpy() to
> copy the contents from HTTP request. It stop copy when a 0x00 byte
> occur.
>
> I was a bit surprise that few one complains about this (according to
> quick search on google) since it's a severe defect that cause data
> loss.
> I wonder if people is still using WO fcgi adaptor. Nevertheless, I
> have a patched version:
>
> https://github.com/yllan/wonder
>
> In case anyone still use the fcgi adaptor.
Can you confirm your fix creates no other issues?
Have you used this change in production for long?
I will commit the change to wonder if that's all that is required to resolve the issue.
--
Seeya...Q
Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden