From: lpsolit%gmail.com <> Date: Thu, 17 Mar 2005 23:14:58 +0000 (+0000) Subject: Bug 286311: print "Context-type..." is used instead of print $cgi->header() (cookies... X-Git-Tag: bugzilla-2.19.3~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce4faab687b850cbd61c2d6a844c20958db69327;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/enter_bug.cgi b/enter_bug.cgi index 634bc62154..58662489a3 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 84f41c3989..c05f0e50d5 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;