Home » Networking » Net_URL » Bug #6338
wrong array querystring handling
Details
| Submitted | 2005-12-23 12:46 UTC |
|---|---|
| From | dobes at lnx dot cz |
| Assigned | davidc |
| Status | Closed |
| Package | Net_URL |
| PHP Version | 5.0.5-5.2.0 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-12-23 12:46 UTC] dobes at lnx dot cz
Description:
------------
In querystring with arrays is wrong parsing.
Test script:
---------------
$url = new Net_URL('http://localhost/run.php?a[0]=foo0&a[1]=foo1&b=foo2');
print_r($url->querystring);
Expected result:
----------------
(
[a] => array(
[0] => foo0
[1] => foo1
)
[b] => foo2
)
Actual result:
--------------
(
[a[0]] => foo0
[a[1]] => foo1
[b] => foo2
)