summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-03-18 00:14:58 +0100
committerlpsolit%gmail.com <>2005-03-18 00:14:58 +0100
commitce4faab687b850cbd61c2d6a844c20958db69327 (patch)
tree912cd269b4a1dcf7efcda130a0576a61865e432d
parent4374ee31d841496880373f04e04c96d2f16132ab (diff)
downloadbugzilla-ce4faab687b850cbd61c2d6a844c20958db69327.tar.gz
bugzilla-ce4faab687b850cbd61c2d6a844c20958db69327.tar.xz
Bug 286311: print "Context-type..." is used instead of print $cgi->header() (cookies aren't sent in header) - Patch by Jacob Steenhagen <jake@bugzilla.org> r=LpSolit a=justdave
-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;