From: Art Cancro Date: Wed, 26 Nov 2003 04:20:16 +0000 (+0000) Subject: * Run all posts through stripslashes() X-Git-Tag: v7.86~5689 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=1ed253a10c44de7b2469233a729acc0729f8f864 * Run all posts through stripslashes() --- diff --git a/ctdlphp/ChangeLog b/ctdlphp/ChangeLog index f9d3c3d2e..ade1d1c06 100644 --- a/ctdlphp/ChangeLog +++ b/ctdlphp/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 1.22 2003/11/26 04:20:16 ajc + * Run all posts through stripslashes() + Revision 1.21 2003/11/25 04:01:44 ajc * Completed "post" and "post html" stuffs @@ -89,4 +92,3 @@ Revision 1.1 2003/10/31 03:47:13 ajc * Initial CVS import - diff --git a/ctdlphp/postmsg.php b/ctdlphp/postmsg.php index 4d40d4d4e..0edea5a5e 100644 --- a/ctdlphp/postmsg.php +++ b/ctdlphp/postmsg.php @@ -12,7 +12,7 @@ else { serv_puts("Content-type: text/html"); serv_puts(""); - text_to_server($_REQUEST["msgtext"], TRUE); + text_to_server(stripslashes($_REQUEST["msgtext"]), TRUE); } echo "Message has been posted.
\n" ;