ID: 48794
Updated by: [email protected]
Reported By: tolkad dot freenode at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: URL related
Operating System: *
PHP Version: 5.2.10
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
See bug #48597
Previous Comments:
------------------------------------------------------------------------
[2009-07-03 18:55:02] tolkad dot freenode at gmail dot com
Description:
------------
PHP normally replaces spaces, periods, and unclosed [ with underscores
in $_GET/$_POST/$_REQUEST. After an unclosed [, it ceases to do this.
Reproduce code:
---------------
/*
With a url like ?x[ x=x
*/
print_r($_GET);
Expected result:
----------------
Array
(
[x__x] => x
)
Actual result:
--------------
Array
(
[x_ x] => x
)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48794&edit=1