aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xidalius.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/idalius.pl b/idalius.pl
index 46e02c4..fef5b45 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -182,6 +182,7 @@ sub should_ignore {
my ($who) = @_;
for my $mask (@{$config->{_}->{ignore}}) {
my $expr = $mask;
+ $expr =~ s/([^[:alnum:]\*])/\\\1/g;
$expr =~ s/\*/.*/g;
if ($who =~ /^$expr$/) {
return 1;