From: nico at kamensek dot de Operating system: Linux Kernel 2.4.26-grsec #1 SMP PHP version: 4.3.6 PHP Bug Type: Scripting Engine problem Bug description: empty variable in url causes all other values to be lost
Description: ------------ This problem does not seem to be php 4.3.6 specific as I was able to successfully replicated it with php 4.3.4. The problem is, that a call like http://url/script.php?action=test works fine. If I add &var1= to the url, everything else is lost. The script acts as if I have called just script.php. But this problem only occurs in case I add a variable(var1 here) with no value. A test for that can be found at http://kamensek.de/test/test.php Try - test.php?action=test - test.php?action=test&var1= - test.php?action=test&var1=y and finally test.php?action=&var1=y which is no problem. The code is at http://kamensek.de/test/test.txt which is just a little example. PHP-config to that is located at http://kamensek.de/phpinfo.php This is *not* a register_globals problem. register_globals is on. Reproduce code: --------------- Please see the links mentioned below. -- Edit bug report at http://bugs.php.net/?id=28471&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28471&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28471&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28471&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28471&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28471&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28471&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28471&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28471&r=support Expected behavior: http://bugs.php.net/fix.php?id=28471&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28471&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28471&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28471&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28471&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28471&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28471&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28471&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28471&r=float
