From 666768e021caf416cdf9ba4cbddb120e4b4c70bc Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 7 Jan 2000 19:35:25 +0000 Subject: [PATCH] Really fixed the slash problem this time. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@131 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/smtp.php b/functions/smtp.php index 0e5a1f2a..3595f84d 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -89,7 +89,8 @@ if ($reply_to != "") fputs($smtpConnection, "Reply-To: $reply_to\n"); - $body = stripslashes($body); + str_replace("\\\"", "\"", $body); + str_replace("\\\'", "\'", $body); fputs($smtpConnection, "$body\n"); // send the body of the message fputs($smtpConnection, ".\n"); // end the DATA part -- 2.25.1