alecpl
2008-08-21 2c6fa9337154b1a70325066f1c87a163e3dadfa1
- Add Content-Length header while attachments downloading (#1484256)


2 files modified
9 ■■■■■ changed files
CHANGELOG 8 ●●●●● patch | view | raw | blame | history
program/steps/mail/get.inc 1 ●●●● patch | view | raw | blame | history
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
program/steps/mail/get.inc
@@ -100,6 +100,7 @@
      $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"));