From: Don Armstrong Date: Thu, 16 Jun 2016 16:38:00 +0000 (-0700) Subject: switch mailbox mime type to application/mbox X-Git-Tag: release/2.6.0~195 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=0e08586582c6da3b5ceb1dd97cfbf87927c487c0 switch mailbox mime type to application/mbox --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index ef0341c..9b445ce 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -220,7 +220,7 @@ if ( $mbox ) { binmode(STDOUT,":raw"); my $date = strftime "%a %b %d %T %Y", localtime; if (@records > 1) { - print $q->header(-type => "text/plain", + print $q->header(-type => "application/mbox", -cache_control => 'public, max-age=600', -etag => $etag, content_disposition => qq(attachment; filename="bug_${ref}.mbox"),