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

Request #16653 Don't make OPTION_SEPARATOR_INPUT default to arg_separator.input
Submitted: 2009-09-29 01:27 UTC
From: schmidt Assigned: schmidt
Status: Closed Package: Net_URL2 (version 0.3.0)
PHP Version: Irrelevant OS:
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 : 47 - 20 = ?

 
 [2009-09-29 01:27 UTC] schmidt (Christian Schmidt)
Description: ------------ The options OPTION_SEPARATOR_INPUT and OPTION_SEPARATOR_OUTPUT default to the PHP ini settings arg_separator.input and arg_separator.output. I think they should both default to "&". The ini settings are intended to be used to alter the URL handling on your own site, but Net_URL2 is used to handle URLs on any site. In the rare event that you actually want to use something different than &, I think it makes sense to set these options explicitly on Net_URL2 rather than setting the corresponding ini settings and then letting Net_URL2 pick these up.

Comments

 [2009-09-29 16:12 UTC] davidc (David Coallier)
I think it's a good idea. As long as it's manageable through a setOptions it should be fine.
 [2009-10-01 02:17 UTC] schmidt (Christian Schmidt)
-Status: Open +Status: Closed -Assigned To: +Assigned To: schmidt
Fixed in CVS. http://svn.php.net/viewvc/pear/packages/Net_URL2/trunk/URL2.php?r1=289017&r2=289015