php.net |  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-10-24 14:19 UTC] 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 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-25 12:08 UTC] jani@php.net
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.
 [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-2022 The PHP Group
All rights reserved.
Last updated: Sun May 29 01:05:44 2022 UTC