From 5f10480835ca5752257b8a4a56d44bc39291c176 Mon Sep 17 00:00:00 2001 From: mattphillips Date: Thu, 10 Aug 2000 17:30:19 +0000 Subject: [PATCH] Fix for Bug #111032 - backslashes appear before quotes after adding attachments. I added a couple more sqStripSlashes where we weren't doing them before. I tested with and without magic_quotes_gpc turned on, but please try this out and let me know if it breaks anything else. Thanks! git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@701 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compose.php b/src/compose.php index e77b3a87..189c5725 100644 --- a/src/compose.php +++ b/src/compose.php @@ -138,7 +138,7 @@ $attachments, $subject, $newmail, $use_javascript_addr_book, $send_to_bcc, $reply_id, $mailbox; - $subject = decodeHeader($subject); + $subject = sqStripSlashes(decodeHeader($subject)); $reply_subj = decodeHeader($reply_subj); $forward_subj = decodeHeader($forward_subj); @@ -234,9 +234,9 @@ echo " \n"; echo "   
\n"; echo " \n"; -- 2.25.1