mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fix saving of attachments
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user