ID: 25836
Updated by: [EMAIL PROTECTED]
Reported By: sitnikov at infonet dot ee
-Status: Feedback
+Status: Verified
Bug Type: *General Issues
Operating System: Linux
-PHP Version: 4.3.4RC1
+PHP Version: 4CVS, 5CVS
New Comment:
Nevermind, had of course set magic_quotes_gpc = On.
Previous Comments:
------------------------------------------------------------------------
[2003-10-12 23:03:30] [EMAIL PROTECTED]
Can not reproduce with latest STABLE CVS.
Please provide more information how to reproduce.
------------------------------------------------------------------------
[2003-10-11 08:57:34] sitnikov at infonet dot ee
Description:
------------
Only "first level keys" was slashed.
Reproduce code:
---------------
<?
echo "<pre>";print_r($_POST);echo "</pre>";
?>
<form method="POST">
<input type=text name="test['aaa']['bbb']" value="'">
<input type=submit>
</form>
Expected result:
----------------
Array
(
[test] => Array
(
[\'aaa\'] => Array
(
[\'bbb\'] => \'
)
)
)
Actual result:
--------------
Array
(
[test] => Array
(
[\'aaa\'] => Array
(
['bbb'] => \'
)
)
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25836&edit=1