lynx-dev
[Top][All Lists]
Advanced

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

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


From: Andreas K. Foerster
Subject: [Lynx-dev] Bug: CGI, POST-data
Date: Thu, 24 Apr 2008 12:45:11 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hello,

I'm using Lynx version 2.8.6rel.4 on a GNU/Linux system and an apache 1.3 
server.

Currently I'm writing a CGI program, which I tried to test with Lynx.
Lynx showed a very surprising behaviour, which I think is a bug.

My CGI program uses the POST method to transfer data. When there is no 
data, ie. it is called from a normal link, the startpage should appear.

This works as expected, when I use a link from outside of the CGI 
program.

Then I wanted to put links to the startpage into the generated pages, like 
this: printf ("<p><a href='%s'>Start</a></p>", getenv ("SCRIPT_NAME"));

This works fine with other browsers, but not with Lynx.
The generated page was called with POST-data. The link was supposed to 
be called with no data at all.
But Lynx sends the same POST-data again!?

Workaround: give it some GET-data:
printf ("<p><a href='%s?a=start'>Start</a></p>", getenv ("SCRIPT_NAME"));


P.S.: I'm not subscribed to this list.

-- 
AKFoerster

Attachment: signature.asc
Description: Digital signature


reply via email to

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