lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev refresh header bug


From: Carlton Anderson
Subject: lynx-dev refresh header bug
Date: Thu, 11 Sep 2003 16:17:18 -0700 (PDT)

Hello all

Version: Lynx2.8.5dev16

Lynx seems to have another "Refresh" header bug. 
If a refresh header contains a URL containing
a query string, Lynx ignores the query string. 

For example, this PHP file sends a refresh header
containing a query string to Lynx:

<?php

if (!isset($HTTP_GET_VARS['next'])):
    $url = 'http://' . $HTTP_SERVER_VARS['HTTP_HOST']
        . $HTTP_SERVER_VARS['PHP_SELF'] . '?next=1';
    header ("Refresh: 4; URL=$url");
    echo "<p> This page should refresh to show another one soon. </p>\n";
else:
    echo "<p> We're on the second page now. </p>\n";
endif;

?>

This is the output from Lynx:

------------------->Lynx Output<----------------------
   Refresh: 4 seconds http://localhost/refreshtst.php

   This page should refresh to show another one soon.

------------------->end<----------------------

Neither the on-screen text nor the clickable link contains
the query string "?next=1"



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

reply via email to

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