The forums are full of suggestions to tweak the .htaccess file included with drupal to work around the magic_quotes_gpc setting. However, many ISPs choose to set that feature and do not allow runtime changing. Instead, the PHP.net manual recommends the use of the stripslashes function (http://us4.php.net/stripslashes) in these situations.

My concern is twofold:
1) Will this remove all slashes, or just ones used to escape?
2) I am a novice, and cannot figure out where to put this function. I presume it has something to do with the $body part of the node object, but other than that...

Any suggestions or patches for 4.2.0 or higher would be greatly appreciated.

Thanks, Michael
wexler at yahoo dot com

Comments

TDobes’s picture

This requirement is removed in Drupal CVS HEAD.

Anonymous’s picture