DataObject adding extra slashes

From: Date: Wed, 30 Mar 2005 00:41:55 +0000
Subject: DataObject adding extra slashes
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18402@lists.php.net to get a copy of this message
It has come to my attention, when I used setFrom($_POST) some of the data is already adding slashes to quotes when posted, DataObject however is already adding slashes is there a way to stop this ? Here is something in a function i had used for generating sql from post arrays, it was dodgy but worked :| if (!get_magic_quotes_gpc()) { $vals .= "'".addslashes($value)."'".$delimiter; } else { $vals .= "'".$value."'".$delimiter; } should this be patched to dataobject or MDB2 or DB quote method ?

« previous php.pear.general (#18402) next »