Bug #13759 Updated: Commandline: querystring parser buggy
| From: | sander@php.net | Date: | Fri, 19 Oct 2001 15:11:09 +0000 |
| Subject: | Bug #13759 Updated: Commandline: querystring parser buggy | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68418@lists.php.net to get a copy of this message | ||
ID: 13759
Updated by: sander
Reported By: rl@e-dict.net
Old Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.0.6
New Comment:
Submitted 3 times...
Previous Comments:
------------------------------------------------------------------------
[2001-10-19 11:08:55] rl@e-dict.net
executable script /tmp/bug:
>>>
# ! /usr/local/bin/php -f
<?php
print "V1 = $V1n";
print "V2 = $V2n";
var_dump($HTTP_GET_VARS);
?>
<<<
command:
$ /tmp/bug "V1=val1&V2=val2"
output:
>>>
V1 =
V2 = val2
array(2) {
["/tmp/bug_V1"]=>
string(4) "val1"
["V2"]=>
string(4) "val2"
}
<<<
problem:
... see: the first array index is parsed to "/tmp/bug_V1".
downwardcompatibility to PHP3 not given !
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13759&edit=1