From: guardkarma-php at yahoo dot com Operating system: Mac OS X PHP version: 5.0.0 PHP Bug Type: Output Control Bug description: Request variables are being escaped
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 bug report at http://bugs.php.net/?id=29165&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29165&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29165&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29165&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29165&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29165&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29165&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29165&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29165&r=support Expected behavior: http://bugs.php.net/fix.php?id=29165&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29165&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29165&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29165&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29165&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29165&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29165&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29165&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29165&r=float