From ce4faab687b850cbd61c2d6a844c20958db69327 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 17 Mar 2005 23:14:58 +0000 Subject: Bug 286311: print "Context-type..." is used instead of print $cgi->header() (cookies aren't sent in header) - Patch by Jacob Steenhagen r=LpSolit a=justdave --- enter_bug.cgi | 2 +- sanitycheck.cgi | 3 +-- 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; -- cgit v1.2.3-24-g4f1b