php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37561 magic_quotes_gpc does not work per-directory
Submitted: 2006-05-23 12:58 UTC Modified: 2006-08-07 01:00 UTC
From: bartos at cbox dot cz Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 5.1.4 OS: Windows NT 5.2 build 3790
Private report: No CVE-ID: None
 [2006-05-23 12:58 UTC] bartos at cbox dot cz
Description:
------------
The same bug as #30527 (http://bugs.php.net/bug.php?id=30527) but now regarding PHP v5.

Description: (copy from #30527)

When magic_quotes_gpc is controlled per-directory through the registry,
the return code from get_magic_quotes_gpc() reflects the change, but the
contents of $_GET, $_POST and $_COOKIE remain escaped or not escaped
according to the setting in php.ini.

The code below was run with magic_quotes_gpc=on in php.ini and
magic_quotes_gpc="0" in the registry for the folder in which the script
resides.


Reproduce code:
---------------
the code, expected result and actual result are the same as in #30527


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-30 22:11 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2006-08-07 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: Sun Dec 22 06:01:30 2024 UTC