php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10197 magic_quotes_runtime and other magic quotes sometimes are switching on or off.
Submitted: 2001-04-06 05:33 UTC Modified: 2002-01-02 13:53 UTC
From: slackl at emd dot ru Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: slackl at emd dot ru
New email:
PHP Version: OS:

 

 [2001-04-06 05:33 UTC] slackl at emd dot ru
magic_quotes_runtime and other magic quotes sometimes are switching on or off without any reason. First noticed in 4.0.3pl.
After moving to 4.0.4pl1 seemed to be working ok for 2 weeks.
Now found several situations where magic quotes are unstable in MySQL Output. 
eg $row->string is "\"test\"" can be output'ed with printf as "test" or \"test\" with magic_quotes_runtime set to on.

PHP's PHPINFO() is available at http://slackl.emd.ru/~slackl/test.php

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 04:23 UTC] yohgaki@php.net
Type = Scripting Engine Problem
Does this happen with 4.1.0?

 [2002-01-02 13:53 UTC] lobbin@php.net
No feedback. Closing.
 [2003-02-10 08:31 UTC] michal dot grezl at winet dot cz
PHP Version 4.1.2
magic_quotes_runtime if off in php.ini, 
but function get_magic_quotes_runtime returns 1 or 0 randomly.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 11:01:29 2025 UTC