Skip to content

Commit

Permalink
Removing underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobaldo authored Jan 24, 2018
1 parent 0e68d2b commit 3c9eb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RT/Shredder/Plugin/Attachments.pm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ sub TestArgs
my %args = @_;
my $queue;
if( $args{'file'} ) {
unless( $args{'file'} =~ /^[\w\._\- *?]+$/) {
unless( $args{'file'} =~ /^[\w\.\- *?]+$/) {
return( 0, "Files mask '$args{file}' has invalid characters" );
}
$args{'file'} = $self->ConvertMaskToSQL( $args{'file'} );
Expand Down

0 comments on commit 3c9eb61

Please sign in to comment.