summaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2011-07-18 02:27:25 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2011-07-18 02:27:25 +0200
commitd56069c56d0adec39a815e7592ac868dc847afb1 (patch)
tree1a2d30a9e506c584d6f06838af585a9435164cb2 /relogin.cgi
parent541c3e88d19110b848c5a5d3c074874e6feed5d6 (diff)
downloadbugzilla-d56069c56d0adec39a815e7592ac868dc847afb1.tar.gz
bugzilla-d56069c56d0adec39a815e7592ac868dc847afb1.tar.xz
Bug 670128: Missing explicit exit after calls to $cgi->redirect(), making the rest of the scripts to be executed
r=dkl a=LpSolit
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/relogin.cgi b/relogin.cgi
index 028f4ddb1..f6a410c05 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -45,6 +45,7 @@ my $target;
if (!$action) {
# redirect to index.cgi if no action is defined.
print $cgi->redirect(correct_urlbase() . 'index.cgi');
+ exit;
}
# prepare-sudo: Display the sudo information & login page
elsif ($action eq 'prepare-sudo') {