diff --git a/mailboxes/boxes-lib.pl b/mailboxes/boxes-lib.pl index bfe682b04..0031ebe5a 100755 --- a/mailboxes/boxes-lib.pl +++ b/mailboxes/boxes-lib.pl @@ -1564,7 +1564,7 @@ sub decode_mimewords { $@ = ''; ### error-return ### Collapse boundaries between adjacent encoded words: - $encstr =~ s{(\?\=)\r?\n[ \t](\=\?)}{$1$2}gs; + $encstr =~ s{(\?\=)\r?\n?[ \t](\=\?)}{$1$2}gs; pos($encstr) = 0; ### print STDOUT "ENC = [", $encstr, "]\n";