[Top][All Lists]

[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: Sat, 26 Apr 2008 08:56:33 -0400 (EDT)

On Sat, 26 Apr 2008, Andreas K. Foerster wrote:

Am Friday, dem 25. Apr 2008 schrieb Thomas Dickey:

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.

No, the POST data should be sent again, when someone uses the rleload
function. But it should be GET for normal links.

agree (it has to keep the data for reload and activate, but has to ignore
the data for a link on the page generated by the cgi-bin script).

Thomas E. Dickey

reply via email to

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