#29165 [Opn->Bgs]: Request variables are being escaped
ID: 29165
Updated by: derick@php.net
Reported By: guardkarma-php at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Mac OS X
PHP Version: 5.0.0
New Comment:
We don't support variable names with wierd characters, so the result is
undefined.
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 22:52:30] guardkarma-php at yahoo dot com
Description:
------------
When upgrading from php 4.3 to 5.0 and using the same
php.ini file, form variable names with apostrophe
characters are now being escaped.
magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
Reproduce code:
---------------
// mydomain.com/script.php?variable'name=value
<?
print_r($_REQUEST);
?>
Expected result:
----------------
Array ( [variable'name] => value )
Actual result:
--------------
Array ( [variable\'name] => value )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29165&edit=1
Thread (8 messages)