php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36972 [chm] bug on security.magicquotes.disabling.html
Submitted: 2006-04-04 20:03 UTC Modified: 2006-04-04 22:12 UTC
From: andi at grill dot to Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
 [2006-04-04 20:03 UTC] andi at grill dot to
Description:
------------
I have found a bug on page security.magicquotes.disabling.html
[chm date: 2005-07-31]...in Example 10.2. Disabling magic quotes at runtime

This Code doesn't work properly because it doesn't updates the Super Global $_REQUEST, which also gets escaped when magic_quotes is enabled. I suggest adding just one line:
$_REQUEST = array_map('stripslashes_deep', $_REQUEST);





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-04 22:12 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC