Bug #52221 [Asn->Ver]: Misbehaviour of magic_quotes_runtime (get/set))
| From: | andrey@php.net | Date: | Thu, 26 Aug 2010 15:21:57 +0000 |
| Subject: | Bug #52221 [Asn->Ver]: Misbehaviour of magic_quotes_runtime (get/set)) | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4936@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52221&edit=1
ID: 52221
Updated by: andrey@php.net
Reported by: m dot philipp at coreto dot de
Summary: Misbehaviour of magic_quotes_runtime (get/set))
-Status: Assigned
+Status: Verified
Type: Bug
Package: Documentation problem
Operating System: Windows Server 2008 R2
PHP Version: 5.3.2
Assigned To: mysql
Block user comment: N
New Comment:
Fixed, to work like libmysql, in 5.3.4
Documentation might need to be updated to state that it didn't work
between 5.3.0 and 5.3.4
Previous Comments:
------------------------------------------------------------------------
[2010-08-25 22:20:19] philip@php.net
I reopened it after reading "The documentation should note that" but
personally I
think MQ should work the same everywhere.
------------------------------------------------------------------------
[2010-08-25 17:06:49] andrey@php.net
Automatic comment from SVN on behalf of andrey
Revision: http://svn.php.net/viewvc/?view=revision&revision=302776
Log: Fix for bug #52221 Misbehaviour of magic_quotes_runtime (get/set))
------------------------------------------------------------------------
[2010-08-25 16:32:46] uw@php.net
Getting quite unsure about the won't fix after discussion with Johannes.
Johannes is correct in arguing that the silent removal of a deprecated
feature could break apps unexpectedly, which is bad because magic quotes
has some security impact.
Maybe adding magic quotes (although they are deprecated) to mysqlnd and
throwing a deprecation warning would be best?
Phillip, thoughts? You re-opened it. Not sure if you noticed I had
changed the category/package: Did you intend to re-open as docs or code
issue?
------------------------------------------------------------------------
[2010-08-25 16:28:16] andrey@php.net
Doc Problem, not for user mysql.
------------------------------------------------------------------------
[2010-08-25 16:27:44] andrey@php.net
It should be documented that mysqlnd is a new development and doesn't
implement magic quotes. PDO is a new development too, and doesn't
implement magic quotes too. What can be done is adding a
php_error_docref(E_WARNING) at MINIT/RINIT which will tell the developer
that if mysqlnd is active and magic_quotes is set that it won't work
with mysqli. Also a warning can be thrown at every mysqli call.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=52221
--
Edit this bug report at http://bugs.php.net/bug.php?id=52221&edit=1