php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46783 magic quotes not working
Submitted: 2008-12-06 13:06 UTC Modified: 2008-12-06 15:34 UTC
From: php at 2600 dot sk Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.2.7 OS: Linux
Private report: No CVE-ID: None
 [2008-12-06 13:06 UTC] php at 2600 dot sk
Description:
------------
I have just upgraded to php 5.2.7 and found that even when magic_quotes are On in php.ini and phpinfo() reports magic_quotes_gpc to be On, magic quotes do not work. Since deprecating and removal of magic quotes is announced from PHP 6, I consider this is a bug rather than a feature. Also, since get_magic_quotes_gpc() reports 1, it confuses scripts which handle inputs differently if magic quotes are on.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-06 15:02 UTC] mattwil@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of Bug #46759
 [2008-12-06 15:34 UTC] php at 2600 dot sk
Sorry, I was searching for "magic_quotes" several times before I submited the bug, but somehow I wasn't able to find the bug #46759.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 12:01:30 2024 UTC