From: sanondysie at tc17 dot com Operating system: Windows 98 PHP version: 4.3.4RC3 PHP Bug Type: HTTP related Bug description: referrer uri missing arguments
Description: ------------ This appears to be Windows 98 (all Win32??) only; it works on Linux. The problem is that the referrer uri is missing any arguments that might have been appended. For the attached sample, you need to Submit at least twice to see the problem. This was tested with an Xitami HTTP server. Reproduce code: --------------- <html> <head/> <body> <p> Referrer:<br/> <table> <tr> <td> PHP: </td> <td> <?PHP print $_SERVER ["HTTP_REFERER"]; ?> </td> </tr> <tr> <td> Javascript: </td> <td> <script>document.write (document.referrer);</script> </td> </tr> </table> </p> <form action= "<?php print $_SERVER ["SCRIPT_NAME"]; ?>" method= "get"> <input type= "hidden" name= "param" value= "value"> <input type= "submit"> </form> </body> </html> Expected result: ---------------- Both referrers should be identical. You need to click Submit twice to get a referrer supplying arguments. Actual result: -------------- PHP will show arguments missing. -- Edit bug report at http://bugs.php.net/?id=26068&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26068&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26068&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26068&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26068&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26068&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=26068&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26068&r=support Expected behavior: http://bugs.php.net/fix.php?id=26068&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26068&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26068&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26068&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26068&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26068&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26068&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26068&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26068&r=float