Really fixed the slash problem this time.
authorlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jan 2000 19:35:25 +0000 (19:35 +0000)
committerlkehresman <lkehresman@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Jan 2000 19:35:25 +0000 (19:35 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@131 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/smtp.php

index 0e5a1f2a4be0324c0f1fe1f855a3d02a6fcffeaa..3595f84d87e81a6ac492096e0c6f851e21f68434 100644 (file)
@@ -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