[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev [PATCH 2.8.5-dev14] File upload with \0

From: Thomas Dickey
Subject: Re: lynx-dev [PATCH 2.8.5-dev14] File upload with \0
Date: Tue, 18 Feb 2003 18:13:43 -0500
User-agent: Mutt/1.3.27i

On Tue, Feb 18, 2003 at 02:57:48PM -0800, Ilya Zakharevich wrote:
> This patch implement upload of files with embedded 0s.  It has the following
> shortcomings:
> a) I do not know the correct syntax of mime headers, so use a very protective
>    coding ;-).  It definitely works with Mime generated by lynx (the only
>    flavor it needs to work with!).
> b) I could not demangle where strncasecmp() is set, so I hardcode it (see the
>    first line of the patch);
> c) I assume that FREE() is compatible with realloc() (it is now);
> d) It is very silly to spend a lot of effort to base64 things, then convert
>    it back...

actually I had considered escaping just the 0's and the character used for
escaping those (much simpler), but didn't want to do _that_ unless it
turned out to be too difficult to track the uses of post_data.

Thomas E. Dickey <address@hidden>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]