Mantis - Quercus
Viewing Issue Advanced Details
3962 minor always 03-23-10 07:02 04-01-10 12:02
posenato  
nam  
normal  
closed 4.0.5  
fixed  
none    
none 4.0.6  
0003962: arg_separator.input is ignored
To separate arguments of a query string, any character specified by "arg_separator.input" configuration option should be valid.

I think that Quercus ignores "arg_separator.input" value and uses only '&' to calculate $_GET values.

I tried to set "arg_separator.input" both in web.xml <php-ini> and by ini_set() instruction.
Write the following PHP fragment:
<?php
ini_set("arg_separator.input", ";");
echo "arg_separator.input value: ". ini_get('arg_separator.input') . "
";

echo "Get parameters: ";
print_r($_GET);

?>

and call it from the browser in a way similar to this:
http://localhost/php/args.php?1=first&2=second;3=third [^]

The output should be:
----
arg_separator.input value: ;
Get parameters: Array ( [1] => first [2] => second [3] => third )
---

The actual output is:
arg_separator.input value: ;
Get parameters: Array ( [1] => first [2] => second;3=third )

Notes
(0004512)
nam   
04-01-10 12:02   
php/080c
php/084g