- set content-length when saving message source

release-0.6
alecpl 16 years ago
parent 32ca1f9fc8
commit 7ef05f4df1

@ -37,7 +37,8 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET))
$filename = rawurlencode($filename);
else
$filename = addcslashes($filename, '"');
header("Content-Length: {$headers->size}");
header("Content-Disposition: attachment; filename=\"$filename\"");
}

Loading…
Cancel
Save