|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43094 Double applied magic quotes Bug #39763 is back?
Submitted: 2007-10-24 14:19 UTC Modified: 2007-11-02 01:00 UTC
From: info at davinci-tec dot de Assigned:
Status: No Feedback Package: Strings related
PHP Version: 5.2.4 OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: info at davinci-tec dot de
New email:
PHP Version: OS:


 [2007-10-24 14:19 UTC] info at davinci-tec dot de
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 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-25 12:08 UTC]

$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.
 [2007-11-02 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 24 05:01:31 2024 UTC