lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Bug: CGI, POST-data


From: Thomas Dickey
Subject: Re: [Lynx-dev] Bug: CGI, POST-data
Date: Fri, 25 Apr 2008 20:07:15 -0400
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Fri, Apr 25, 2008 at 01:05:02PM +0200, Andreas K. Foerster wrote:
> Am Thursday, dem 24. Apr 2008 schrieb Thomas Dickey:
> 
> > Then, if I add a link in the generated page, activating that link
> > uses a GET - for my testcase.  Perhaps your generated page is a form
> > (also using POST).  If I can see what the whole picture looks like,
> > then I can respond better.
> 
> I send you a test-script with this mail.
> The link named "New" is a normal link should use GET, and it does that 
> in other browsers, but not in my lynx.

I can reproduce it.  Lynx's trace shows that it looks for the URL in
its memory, finds it (the right one), then goes to load it.  As I
read the code, it seems that the reason it then POSTs again is that
it still has the post-data at hand for the URL, and just uses its
existence to decide that it's ready to POST in the process of loading.

The simplest solution (which might be correct - will have to check)
would be to discard that data immediately after it is used to POST the form.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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