[pmwiki-users] bug in commentbox
Hans
design at softflow.co.uk
Thu Mar 23 11:38:02 CST 2006
Thursday, March 23, 2006, 3:12:19 PM, Patrick wrote:
> I don't have a great answer for this (other than it's another
> PHP brain-dead feature) -- for now I'd suggest adding the slashes
> only if get_magic_quotes_gpc() returns true.
Thanks for the info!
I added the following code to the various handling functions in
commentboxstyled.php:
if(get_magic_quotes_gpc()==1)
$page['text'] = addslashes($page['text']);
commentboxstyled.php is updated on pmwiki.org.
Best,
Hans
More information about the pmwiki-users
mailing list