Serious problems with $_POST array handling in recently released PHP 5.1.3

A critical bug with $_POST array handling as well as the FastCGI sapi have been discovered in PHP 5.1.3. The problem is actually messing data in $_POST:

<form method="post" action="" enctype="multipart/form-data">
<input type="text" name="java[server_1]" value="jboss">
<input type="text" name="java[server_2]" value="tomcat">
<input type="submit"></form>
Returning array:
(
    [java] => Array
        (
            [server_1] => jboss
            [server_2] => Array
                (
                    [server_1] => tomcat
                )
        )
)


A new PHP release 5.1.4 is now available to address these issues. All PHP users are encouraged to upgrade to this release as soon as possible. Bugreport available.

Technorati Tags: php, critical bugs