Change allow defense filename
This commit is contained in:
parent
adfb686d04
commit
9160fa0fb2
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ sub tag_defense
|
||||||
my $path;
|
my $path;
|
||||||
if ($_[3])
|
if ($_[3])
|
||||||
{
|
{
|
||||||
if ($_[3] =~ /^(?:defenses\/)?([a-zA-Z0-9\/]+)(?:.xml)?$/) {
|
if ($_[3] =~ /^(?:defenses\/)?([a-zA-Z0-9_.\/-]+)(?:.xml)?$/) {
|
||||||
$path = "defenses/".$1.".xml";
|
$path = "defenses/".$1.".xml";
|
||||||
} else {
|
} else {
|
||||||
$path = $_[3];
|
$path = $_[3];
|
||||||
|
|
Reference in a new issue