Bug #10591 Updated: magic_quotes_runtime being randomly set?

From: Date: Tue, 15 May 2001 12:55:19 +0000
Subject: Bug #10591 Updated: magic_quotes_runtime being randomly set?
Groups: php.dev 
Request: Send a blank email to php-dev+get-55336@lists.php.net to get a copy of this message
ID: 10591 User Update by: phpbug@samrowe.com Status: Critical Bug Type: PHP options/info functions Operating system: Progeny GNU/Linux PHP Version: 4.0 Latest CVS (01/05/2001) Description: magic_quotes_runtime being randomly set? updating to today's (4-15-01) CVS fixed it... Previous Comments: --------------------------------------------------------------------------- [2001-05-10 09:38:02] zeev@php.net Also, has anybody managed to reproduce it? I can't. --------------------------------------------------------------------------- [2001-05-10 09:27:52] zeev@php.net Do you have any settings for magic_quotes_runtime in your httpd.conf or .htaccess files? --------------------------------------------------------------------------- [2001-05-09 11:12:01] sniper@php.net Marked as to be fixed before 4.0.6 --------------------------------------------------------------------------- [2001-05-01 23:07:35] zak@php.net Hmmm... maybe we do have a bug here... There are no calls to magic_quotes_runtime(). There are no includes, requires or auto_(pre|ap)pend_files. The php.ini files and apache conf files don't set magic_quotes_runtime. And there are no other scripts on the box that call magic_quotes_runtime() or set_ini ('magic_quotes_runtime', 'On'); So, right now it does seem that magic_quotes_runtime does to randomly turn on and off. Calls to get_magic_quotes_runtime() accurately report whether magic_quotes_runtime is active, while phpinfo() reports that magic_quotes_runtime is off - both locally and the master value. Initial reports indicated that the bug may have been related to file(), however, the problem can be reproduced using fopen() as well - see http://airbag.tss.peachnet.edu/~sam/fopen.php and http://airbag.tss.peachnet.edu/~sam/fopen.txt. Anyone have any ideas here - I am coming up blank. --------------------------------------------------------------------------- [2001-05-01 21:19:23] zak@php.net Damn... misread last comment. Have asked user to send me relevant code. I would guess that something simple to fix on here... --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=10591

« previous php.dev (#55336) next »