From dbeeacc33b7e25fb3bbf1e8fa49da7937f62fe8f Mon Sep 17 00:00:00 2001 From: mehlinger333 Date: Thu, 24 Sep 2015 15:32:40 +0100 Subject: Bug 464528: Project names having dashes in them do not work. r=gerv. --- Bugzilla/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Constants.pm') 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"; -- cgit v1.2.3-24-g4f1b