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

Bug #3942 addRawQueryString shouldn't delete old values
Submitted: 2005-03-24 11:58 UTC
From: wf at eteleon dot de Assigned:
Status: Bogus Package: Net_URL
PHP Version: 5.0.3 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-24 11:58 UTC] wf at eteleon dot de
Description: ------------ When setting a querystring with addRawQueryString(), the old values shouldn't be deleted. The parts of the new query string should just be added to the existing values. Reproduce code: --------------- $url = new Net_URL("http://www.example.com/"); $url->addQueryString( "test", 1 ); $url->addRawQueryString( "test2=2" ); echo $url->getURL(); Expected result: ---------------- http://www.example.com/?test=1&test2=2 Actual result: -------------- http://www.example.com/?test2=2

Comments

 [2005-03-25 00:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!