PHP 4.0 Bug #10197: magic_quotes_runtime and other magic quotes sometimes are switching on or off.
| From: | slackl at emd dot ru | Date: | Fri, 06 Apr 2001 09:33:38 +0000 |
| Subject: | PHP 4.0 Bug #10197: magic_quotes_runtime and other magic quotes sometimes are switching on or off. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51003@lists.php.net to get a copy of this message | ||
From: slackl@emd.ru
Operating system: Linux
PHP version: 4.0.4pl1
PHP Bug Type: Output Control
Bug description: magic_quotes_runtime and other magic quotes sometimes are switching on or off.
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
--
Edit Bug report at: http://bugs.php.net/?id=10197&edit=1