ID: 39763 Updated by: [EMAIL PROTECTED] Reported By: php dot 20 dot korkman at spamgourmet dot com -Status: Assigned +Status: Closed Bug Type: Strings related Operating System: SuSE Linux 9.0 PHP Version: 5.2.0 Assigned To: iliaa New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-12-08 17:10:53] [EMAIL PROTECTED] Reopened. ------------------------------------------------------------------------ [2006-12-07 11:00:11] [EMAIL PROTECTED] This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2006-12-07 10:14:48] php dot 20 dot korkman at spamgourmet dot com Description: ------------ parse_str() changed behaviour from PHP 5.14 to 5.2 in that it seems to apply the magic_quotes_gpc directive *twice*. Needless to say this causes heavy problems when using this function. Reproduce code: --------------- <?php $arr = array(); parse_str("this=%22probably+a+bug%22", $arr); echo $arr['this']; ?> Expected result: ---------------- \"probably a bug\" Actual result: -------------- \\\"probably a bug\\\" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39763&edit=1