summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-06-20 11:40:05 +0000
committerthomascube <thomas@roundcube.net>2008-06-20 11:40:05 +0000
commitfde466c58c004e8f7eff7b59c78f62eef250cde9 (patch)
treed46360c24b111482b27f0a14a4ab821e3cfd4d7a /program/steps/mail
parent2da368e6633ae4dec5d9b02ec3f4b693ffc9fb76 (diff)
Urlencode mail recipients for storing in session + little code cleanup
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 607cf9b05..800a9de85 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -135,7 +135,7 @@ function rcmail_compose_headers($attrib)
// we have a set of recipients stored is session
if (($mailto_id = $_SESSION['compose']['param']['_mailto']) && $_SESSION['mailto'][$mailto_id])
- $fvalue = $_SESSION['mailto'][$mailto_id];
+ $fvalue = urldecode($_SESSION['mailto'][$mailto_id]);
else if (!empty($_SESSION['compose']['param']['_to']))
$fvalue = $_SESSION['compose']['param']['_to'];