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 <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to