On Mon, 8 Apr 2002, Henry Nelson wrote:
Hi,
> > I've already told that I have to get lynx to send referer for the url that
> > includes content from form submissions with method GET. In other words, there
> > is a 2-step CGI script - when one visits it, it spews a form with method set
> > to GET (not POST as was in your case) - and when one submits that form, lynx
>
> Would you mind posting the form and the script, or a snippet of it with the
> critical section that is parsing the referer header? I'd like to give it a
> look see. Thanks.
Of course I can, but later today.
As for critical section that is parsing the referer header - it's trivial
(in bash):
$HTTP_REFERER
:)
(since content of the http-referer header is passed in the environment
variable "HTTP_REFERER" to CGI script).
It's impossible for that sample script to be broken. It's lynx's intended
behaviour.
Best regards,
-Vlad
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]