Edit report at http://pear.php.net/bugs/bug.php?id=16653&edit=1
ID: 16653
Updated by: david@echolibre.com
Reported By: schmidt at php dot net
Summary: Don't make OPTION_SEPARATOR_INPUT default to
arg_separator.input
Status: Open
Type: Feature/Change Request
Package: Net_URL2
Package Version: 0.3.0
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
I think it's a good idea. As long as it's manageable through a
setOptions it should be fine.
Previous Comments:
------------------------------------------------------------------------
[2009-09-28 21:27:21] 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.
------------------------------------------------------------------------