Fix saving of attachments

This commit is contained in:
Jamie Cameron
2020-05-10 22:52:15 -07:00
parent 87cbcf7643
commit 38f0c8ff0c

View File

@ -77,7 +77,7 @@ else {
# Auto-detect type
if ($in{'save'}) {
# Force download
print "Content-Disposition: Attachment filename=\"$attach->{'filename'}\"\n";
print "Content-Disposition: Attachment; filename=\"$attach->{'filename'}\"\n";
}
if ($attach->{'type'} eq 'message/delivery-status') {
print "Content-type: text/plain\n\n";