Re: phpMyAdmin and arg_separator = "&"
| From: | Jani Taskinen | Date: | Fri, 02 Mar 2001 02:42:41 +0000 |
| Subject: | Re: phpMyAdmin and arg_separator = "&" | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-47748@lists.php.net to get a copy of this message | ||
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