Allow . in defense filename
This commit is contained in:
parent
cdb64f192f
commit
531864ef8d
@ -120,7 +120,7 @@ sub tag_defense
|
||||
}
|
||||
|
||||
my $defense_id;
|
||||
if ($path =~ /^(?:defenses\/)?([a-zA-Z0-9\/]+)(?:.xml)?$/) {
|
||||
if ($path =~ /^(?:defenses\/)?([a-zA-Z0-9.\/]+)(?:.xml)?$/) {
|
||||
$defense_id = $1;
|
||||
} else {
|
||||
log ERROR, "Déplacez votre soutenance dans le dossier defenses ou simplifiez le nom du fichier.";
|
||||
|
Reference in New Issue
Block a user