From 0e08586582c6da3b5ceb1dd97cfbf87927c487c0 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 16 Jun 2016 09:38:00 -0700 Subject: [PATCH] switch mailbox mime type to application/mbox --- cgi/bugreport.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.39.2