fix for bug #585012
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 22 Jul 2002 18:23:14 +0000 (18:23 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 22 Jul 2002 18:23:14 +0000 (18:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3116 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/compose.php

index d16a7b00fe30dc325a5c359caa8fc55ddbc4d0e8..0e24912ae5513d1340d5c02b6d601851317378b6 100644 (file)
@@ -109,7 +109,7 @@ if (isset($draft)) {
             }
             else {
             Header("Location: right_main.php?mailbox=$draft_folder&sort=$sort".
-                   "&startMessage=1&note=$draft_message");
+                   "&startMessage=1&note=".urlencode($draft_message));
             exit();
             }
         }