Mantis - Quercus
Viewing Issue Advanced Details
1732 minor always 05-13-07 09:31 05-14-07 20:05
nagashima  
nam  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001732: $_POST was overwrited by querystring
run this script

--------------------------------
<html>
<body>
<form action="?value1=get_value1" method="post">
<input type="hidden" name="value1" value="post_value1">
<input type="hidden" name="value2" value="post_value2">
<input type="submit">
</form>
<?php
echo "get_value1 = " . $_GET["value1"]."
\n";
echo "post_value1 = " . $_POST["value1"]."
\n";
echo "post_value2 = " . $_POST["value2"]."
\n";
?>
</body>
</html>
--------------------------------



php output is

--------------------------------
get_value1 = get_value1
post_value1 = post_value1
post_value2 = post_value2
--------------------------------

but quercus output is

--------------------------------
get_value1 = get_value1
post_value1 = get_value1
post_value2 = post_value2
--------------------------------

Notes
(0001910)
nam   
05-14-07 20:05   
php/0814