summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorendico%mozilla.org <>2000-05-16 16:35:21 +0200
committerendico%mozilla.org <>2000-05-16 16:35:21 +0200
commit65ab05fead272c753e04903021c4fc8014e7b87c (patch)
treef451f6d09e0ba4a53794d327c86f3429bf40174a
parent47bd2f8b103e02dbf447e69da9eb0ddfb0b25bb2 (diff)
downloadbugzilla-65ab05fead272c753e04903021c4fc8014e7b87c.tar.gz
bugzilla-65ab05fead272c753e04903021c4fc8014e7b87c.tar.xz
move mime type declaration to fix types for html error messages
-rwxr-xr-xexport_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/export_bug.cgi b/export_bug.cgi
index a83dec702..3efd0bb89 100755
--- a/export_bug.cgi
+++ b/export_bug.cgi
@@ -29,7 +29,6 @@ use Data::Dumper;
#use vars %::COOKIE;
require "CGI.pl";
-print "Content-type: text/plain\n\n";
#$::lockcount = 0;
my $dump = new XML::Dumper;
@@ -335,6 +334,7 @@ if (defined $bug{'attachments'}) {
$xml .= "</bug>\n";
$xml .= "</bugzilla>\n";
+print "Content-type: text/plain\n\n";
print $xml;
#my $msg = "To: $exporter\n";