forked from lix-project/hydra
* Allow dots in job names in views.
This commit is contained in:
parent
775c0d6423
commit
72c44ab0ae
|
@ -51,7 +51,7 @@ sub updateView {
|
|||
my $description = trim $c->request->params->{"job-$baseName-description"};
|
||||
my $attrs = trim $c->request->params->{"job-$baseName-attrs"};
|
||||
|
||||
$name =~ /^([\w\-]+):([\w\-]+)$/ or error($c, "Invalid job name: $name");
|
||||
$name =~ /^([\w\-]+):($jobNameRE)$/ or error($c, "Invalid job name: $name");
|
||||
my $jobsetName = $1;
|
||||
my $jobName = $2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue