summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Constants.pm
diff options
context:
space:
mode:
authormehlinger333 <mehlinger333@gmail.com>2015-09-24 16:32:40 +0200
committerGervase Markham <gerv@gerv.net>2015-09-24 16:32:40 +0200
commitdbeeacc33b7e25fb3bbf1e8fa49da7937f62fe8f (patch)
treeb8b652a431a6583821cf178d147aea23d1905031 /Bugzilla/Constants.pm
parent05f74faf6a98ef8d2ac5d38007e093e6fa1bb1fc (diff)
downloadbugzilla-dbeeacc33b7e25fb3bbf1e8fa49da7937f62fe8f.tar.gz
bugzilla-dbeeacc33b7e25fb3bbf1e8fa49da7937f62fe8f.tar.xz
Bug 464528: Project names having dashes in them do not work. r=gerv.
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r--Bugzilla/Constants.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm
index ec2b03c05..ff0eeb8e7 100644
--- a/Bugzilla/Constants.pm
+++ b/Bugzilla/Constants.pm
@@ -682,7 +682,7 @@ sub _bz_locations {
$libpath = $1;
my ($localconfig, $datadir);
- if ($project && $project =~ /^(\w+)$/) {
+ if ($project && $project =~ /^([\w-]+)$/) {
$project = $1;
$localconfig = "localconfig.$project";
$datadir = "data/$project";