#43094 [Opn->Fbk]: Double applied magic quotes Bug #39763 is back?
| From: | jani@php.net | Date: | Thu, 25 Oct 2007 12:08:32 +0000 |
| Subject: | #43094 [Opn->Fbk]: Double applied magic quotes Bug #39763 is back? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118933@lists.php.net to get a copy of this message | ||
ID: 43094
Updated by: jani@php.net
Reported By: info at davinci-tec dot de
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: FreeBSD
PHP Version: 5.2.4
New Comment:
t.php:
<?php
$arr = array();
parse_str("this=%22probably+a+bug%22", $arr);
echo $arr['this'];
?>
[jani@localhost ~]$ src/build/php_5_2/sapi/cli/php -dmagic_quotes_gpc=1
t.php
\"probably a bug\"
And that's the expected result. I'm using latest CVS checkout of
PHP_5_2 branch.
Previous Comments:
------------------------------------------------------------------------
[2007-10-24 14:19:04] info at davinci-tec dot de
Description:
------------
seems that Bug #39763 is back in PHP 5.2.4
i have the same behaviour as reported in the above bug report in 5.2.4.
as of 5.2.1 parse_str works as expected, now with 5.2.4 there are again
double applied magic quotes.
Reproduce code:
---------------
Bug #39763
Expected result:
----------------
Bug #39763
Actual result:
--------------
Bug #39763
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43094&edit=1