summaryrefslogtreecommitdiff
path: root/roundcubemail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-21 19:47:35 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-08-21 19:47:35 +0000
commit56bd8e38a8a8ad4afafb482b3fa744b8d247ee71 (patch)
treebe7a7f0a7f7e1441ea1436877091d91977c83848 /roundcubemail
parent0c9f94660e0570cfd8667b95aa45d109d67eecce (diff)
- Add Content-Length header while attachments downloading (#1484256)
git-svn-id: https://svn.roundcube.net/trunk@1670 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
-rw-r--r--roundcubemail/CHANGELOG8
-rw-r--r--roundcubemail/program/steps/mail/get.inc1
2 files changed, 9 insertions, 0 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG
index 76f20adc7..8f3463236 100644
--- a/roundcubemail/CHANGELOG
+++ b/roundcubemail/CHANGELOG
@@ -1,6 +1,14 @@
CHANGELOG RoundCube Webmail
---------------------------
+2008/08/21 (alec)
+----------
+- Add Content-Length header while attachments downloading (#1484256)
+- Fix In-Reply-To and References headers when composing saved draft
+ message (#1485288)
+- Removed PHP4 class constructors
+- Fix html message charset conversion for charsets with underline (#1485287)
+
2008/08/21 (estadtherr)
----------
- Fix escaping of To: and From: fields when building message body for reply
diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc
index 842c60536..22658346e 100644
--- a/roundcubemail/program/steps/mail/get.inc
+++ b/roundcubemail/program/steps/mail/get.inc
@@ -100,6 +100,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) {
$OUTPUT->write(rcmail_print_body($part, array('safe' => $MESSAGE->is_safe, 'inline_html' => false)));
}
else {
+ header(sprintf('Content-Length: %d', $part->size));
header(sprintf('Content-Disposition: %s; filename="%s";',
$_GET['_download'] ? 'attachment' : 'inline',
$part->filename ? abbreviate_string($part->filename, 55) : "roundcube.$ctype_secondary"));