Skip to content

Commit

Permalink
Merge pull request smtpd#247 from christianeisendle/x-spam_status_out…
Browse files Browse the repository at this point in the history
…look_hack_fix

Replace all occurances of CR in X-Spam-Status
  • Loading branch information
msimerson committed Feb 16, 2016
2 parents 66e76f5 + 4d061df commit 79deb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/spamassassin
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ sub insert_spam_headers {
if ($name eq 'X-Spam-Status') {
$self->parse_spam_header($new_headers->{$name});
}
$new_headers->{$name} =~ s/\015//; # hack for outlook
$new_headers->{$name} =~ s/\015//g; # hack for outlook
$self->_cleanup_spam_header($transaction, $name);
$transaction->header->add($name, $new_headers->{$name}, 0);
}
Expand Down

0 comments on commit 79deb8b

Please sign in to comment.