From f8f6cc6eb20c811cf45cb40416984119acdcd5ec Mon Sep 17 00:00:00 2001 From: "Kyle J. McKay" Date: Thu, 1 Aug 2013 17:22:33 -0700 Subject: [PATCH] tagproj.cgi: add missing cgi->header call Unlike most of the other *.cgi scripts, tagproj.cgi does not use the Girocco::CGI->new function and so must explicitly call cgi->header with the status result before printing out result lines. --- cgi/tagproj.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/cgi/tagproj.cgi b/cgi/tagproj.cgi index eda6653..8902275 100755 --- a/cgi/tagproj.cgi +++ b/cgi/tagproj.cgi @@ -18,6 +18,7 @@ my $ctags = $cgi->param('t')||''; $pname =~ s/\.git$//; if ($cgi->request_method ne 'POST') { + print $cgi->header(-status=>403); print "

Invalid data. Go away, sorcerer.

\n"; exit; } -- 2.11.4.GIT