On Wed, 28 Feb 2001, Jim Winstead wrote:

>>     arg_separator = "&"
>>
>things break because someone was dumb and used the "arg_separator" that
>used to be used to handle parsing the incoming request to also handle the
>parsing that the session-id adding stuff does, and then changed the
>documentation for arg_separator without regard to the existing behavior.
>so the get parsing is now expecting to use & to separate arguments
>when you set arg_separator that way.
>there should be two config variables for this.

arg_input_separator = ";"
arg_output_separator = "&"

OR

Only support & and ; as argument separators. (as those are the
separators recommended by W3C)

ie. Then we could have a check in php_variables.c which one is used.

Something like this:

if(PG(arg_separator) != ";") {
        separator = "&";
} else {
        separator = ";";
}

This way we could avoid the adding of yet another ini directive.
(backwards compatibility)

--Jani


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to