Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.15

Bug #6338 wrong array querystring handling
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)    

 [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 )


 [2007-04-29 12:43 UTC] doconnor (Daniel O'Connor)
works for me PHP 5.1.5, Net_URL 1.0.14, windows xp
 [2007-05-08 00:20 UTC] davidc (David Coallier)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. This is also fixed in Net_URL2