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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 29 + 8 = ?

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

Comments

 [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 pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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