FAQ
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.

------------------------------------------------------------------------

Search Discussions

  • Schmidt at Sep 30, 2009 at 8:17 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=16653&edit=1

    ID: 16653
    Updated by: schmidt@php.net
    Reported By: schmidt at php dot net
    Summary: Don't make OPTION_SEPARATOR_INPUT default to
    arg_separator.input
    -Status: Open
    +Status: Closed
    Type: Feature/Change Request
    Package: Net_URL2
    Package Version: 0.3.0
    PHP Version: Irrelevant
    -Assigned To:
    +Assigned To: schmidt
    Roadmap Versions:
    New Comment:

    -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


    Previous Comments:
    ------------------------------------------------------------------------

    [2009-09-29 12:12:23] davidc

    I think it's a good idea. As long as it's manageable through a
    setOptions it should be fine.

    ------------------------------------------------------------------------

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

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 29, '09 at 10:12a
activeSep 30, '09 at 8:17p
posts2
users2
websitepear.php.net

2 users in discussion

Schmidt: 1 post David: 1 post

People

Translate

site design / logo © 2022 Grokbase