summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xenter_bug.cgi2
-rwxr-xr-xsanitycheck.cgi3
2 files changed, 2 insertions, 3 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index 634bc6215..58662489a 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -101,7 +101,7 @@ if (!defined $product) {
$vars->{'cloned_bug_id'} = $cgi->param('cloned_bug_id');
- print "Content-type: text/html\n\n";
+ print $cgi->header();
$template->process("global/choose-classification.html.tmpl", $vars)
|| ThrowTemplateError($template->error());
exit;
diff --git a/sanitycheck.cgi b/sanitycheck.cgi
index 84f41c398..c05f0e50d 100755
--- a/sanitycheck.cgi
+++ b/sanitycheck.cgi
@@ -87,8 +87,7 @@ UserInGroup("editbugs")
action => "run",
object => "sanity_check"});
-print "Content-type: text/html\n";
-print "\n";
+print $cgi->header();
my @row;