From: lpsolit%gmail.com <> Date: Fri, 18 Mar 2005 09:34:32 +0000 (+0000) Subject: Bug 286311: print "Content-type..." is used instead of print $cgi->header() (cookies... X-Git-Tag: bugzilla-2.18.1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1428811fd7d4ea3a8c081859fd24a0374e4955ef;p=thirdparty%2Fbugzilla.git Bug 286311: print "Content-type..." is used instead of print $cgi->header() (cookies aren't sent in header) - Patch by Frederic Buclin (original author: Jacob Steenhagen) r=justdave, a=justdave --- diff --git a/sanitycheck.cgi b/sanitycheck.cgi index d7dc59770b..5f67dbae7f 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -84,8 +84,7 @@ my $cgi = Bugzilla->cgi; UserInGroup("editbugs") || ThrowUserError("sanity_check_access_denied"); -print "Content-type: text/html\n"; -print "\n"; +print $cgi->header(); my @row;