summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-09-28 22:28:05 +0000
committerthomascube <thomas@roundcube.net>2005-09-28 22:28:05 +0000
commit30233b8dfb7fe5070dfa11b3e6d2015fb50aa769 (patch)
tree46cf5db699d97802e7c408c00a62e72dc22c640f /program/steps/mail/compose.inc
parent20a1b3a0e1a46266b149a23562bb71680e666edb (diff)
Minor bugfixes and correction of confusing License notfications
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index b7e91cb2f..1848acf23 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -6,7 +6,7 @@
| |
| This file is part of the RoundCube Webmail client |
| Copyright (C) 2005, RoundCube Dev. - Switzerland |
- | All rights reserved. |
+ | Licensed under the GNU GPL |
| |
| PURPOSE: |
| Compose a new mail message with all headers and attachments |
@@ -283,7 +283,7 @@ function rcmail_compose_body($attrib)
// use posted message body
if ($_POST['_message'])
- $body = $_POST['_message'];
+ $body = stripslashes($_POST['_message']);
// compose reply-body
else if (is_array($REPLY_MESSAGE['parts']))
@@ -371,7 +371,7 @@ function rcmail_compose_subject($attrib)
// use subject from post
if ($_POST['_subject'])
- $subject = $_POST['_subject'];
+ $subject = stripslashes($_POST['_subject']);
// create a reply-subject
else if (isset($REPLY_MESSAGE['subject']))