Remove strange characters from Message-Ids to assure better matching
This commit is contained in:
parent
0237e90fd6
commit
279ce453ba
1 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,8 @@ foreach my $folder (@dupFolders) {
|
|||
warn "$dir/$file has no message ID";
|
||||
next;
|
||||
}
|
||||
$id =~ s/^[\<\s]+//; $id =~ s/[\>\s]$//;
|
||||
|
||||
|
||||
# die "Duplicate message ID's $id\n" if defined $msgs{$id};
|
||||
|
||||
|
@ -87,6 +89,8 @@ foreach my $dir (@msgDirs) {
|
|||
next;
|
||||
}
|
||||
}
|
||||
$id =~ s/^[\<\s]+//; $id =~ s/[\>\s]$//;
|
||||
|
||||
if (not defined $id or $id =~ /^\s*$/) {
|
||||
warn "$dir/$file has no message ID";
|
||||
next;
|
||||
|
|
Loading…
Add table
Reference in a new issue