|  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
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: bartos at cbox dot cz
New email:
PHP Version: OS:


 [2006-05-23 12:58 UTC] bartos at cbox dot cz
The same bug as #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

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-30 22:11 UTC]
Please try using this CVS snapshot:
For Windows:

 [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: Thu May 23 10:01:34 2024 UTC