lynx-dev
[Top][All Lists]
Advanced

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

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


From: Ilya Zakharevich
Subject: lynx-dev Re: [PATCH 2.8.5-dev14] File upload with \0
Date: Tue, 18 Feb 2003 15:11:12 -0800
User-agent: Mutt/1.4i

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:

Forgot to mention: with this patch

  I can easily submit an html document with an embedded \0 to the HTML
  Validator;

  The validator sends a correct analysis;

  But unless I stop the screen update by pressing Pause (or
  Control-S), lynx takes me immediately back to the validator page.

Can somebody analyse this?

Here is the summary of my two recent changes to the file upload.

  a) Lynx can upload any document;

  b) The type is determined by the "usual means".  If they return
     "text/plain" but the document contains funny chars, the type is
     changed to "application/octet-stream";

  c) The Mime headers are Content-Disposition: and Content-Type: only.

This implementation is not a result of any knowledge on my part, but
just what came first to my mind.  If somebody knows a better semantic,
please let me know.

Hope this helps,
Ilya

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

reply via email to

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