add "pm" to list of verboten uploads
This commit is contained in:
parent
bb2e32141d
commit
e71ce09588
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ sub addFileFromFilesystem {
|
||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
my $filename = (File::Spec->splitpath( $pathToFile ))[2];
|
my $filename = (File::Spec->splitpath( $pathToFile ))[2];
|
||||||
if (isIn($self->getFileExtension($filename), qw(pl perl sh cgi php asp))) {
|
if (isIn($self->getFileExtension($filename), qw(pl perl sh cgi php asp pm))) {
|
||||||
$filename =~ s/\./\_/g;
|
$filename =~ s/\./\_/g;
|
||||||
$filename .= ".txt";
|
$filename .= ".txt";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue