note 57676 deleted from function.serialize by aharvey
| From: | aharvey@php.net | Date: | Tue, 06 Nov 2012 02:08:32 +0000 |
| Subject: | note 57676 deleted from function.serialize by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-191761@lists.php.net to get a copy of this message | ||
Note Submitter: eggyknap at gmail dot com
----
My thanks to the editor who pointed out the serialization bug. According to the bug report, this
should be fixed in version 5.0.4, and is confirmed fixed in v 5.0.5. Unfortunately I'm not in a
position to update my installation, but I found that passing the serialized string through
addslashes before saving it to the database does the trick. It may be a bit inefficient, but it
works.