summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2003-10-08 04:15:35 +0200
committerjocuri%softhome.net <>2003-10-08 04:15:35 +0200
commit6df993a22dd55cb29aad9b0c173b5dd0f54e42c7 (patch)
tree8c800091c5828cb121788467a601acda4d15d5b2 /CGI.pl
parent7976d7b56f91bd291bbc086b9bc48cd593592040 (diff)
downloadbugzilla-6df993a22dd55cb29aad9b0c173b5dd0f54e42c7.tar.gz
bugzilla-6df993a22dd55cb29aad9b0c173b5dd0f54e42c7.tar.xz
Bug 213384: shutdownhtml login bypass via editparams.cgi is broken under suexec. r=kiko, a=justdave
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index 75174dcba..bcd9a7f90 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -55,7 +55,7 @@ use vars qw($template $vars);
# to the user about the downtime. (do)editparams.cgi is exempted from
# this message, of course, since it needs to be available in order for
# the administrator to open Bugzilla back up.
-if (Param("shutdownhtml") && $0 !~ m:[\\/](do)?editparams.cgi$:) {
+if (Param("shutdownhtml") && $0 !~ m:(^|[\\/])(do)?editparams\.cgi$:) {
$::vars->{'message'} = "shutdown";
# Return the appropriate HTTP response headers.