diff options
author | lpsolit%gmail.com <> | 2005-03-18 00:14:58 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-03-18 00:14:58 +0100 |
commit | ce4faab687b850cbd61c2d6a844c20958db69327 (patch) | |
tree | 912cd269b4a1dcf7efcda130a0576a61865e432d | |
parent | 4374ee31d841496880373f04e04c96d2f16132ab (diff) | |
download | bugzilla-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-x | enter_bug.cgi | 2 | ||||
-rwxr-xr-x | 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; |