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 [EMAIL PROTECTED]

Reply via email to