]> git.donarmstrong.com Git - debbugs.git/commitdiff
switch mailbox mime type to application/mbox
authorDon Armstrong <don@donarmstrong.com>
Thu, 16 Jun 2016 16:38:00 +0000 (09:38 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 18 Jul 2016 02:58:25 +0000 (21:58 -0500)
cgi/bugreport.cgi

index ef0341c25facad894c8c7ed0294c6467fcfbc66e..9b445ce64ae1e562af1a5e426d60ea573ca6487a 100755 (executable)
@@ -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"),