This commit is contained in:
1 parent
9f1781b524
commit
f9cae511af
1 file changed
+1
@@ -112,6 +112,7 @@ sub safe_name {
|
||||
my $n = basename(shift || '');
|
||||
$n =~ s/[^\w.\-]/_/g;
|
||||
$n =~ s/^\./dot_/;
|
||||
$n =~ s!/!_!g;
|
||||
return length($n) ? $n : 'file';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user