patch-lib_Mail_SpamAssassin_Message_pm 451 B

1234567891011121314
  1. $OpenBSD: patch-lib_Mail_SpamAssassin_Message_pm,v 1.1 2016/03/04 00:05:35 sthen Exp $
  2. --- lib/Mail/SpamAssassin/Message.pm.orig Tue Apr 28 20:56:49 2015
  3. +++ lib/Mail/SpamAssassin/Message.pm Thu Mar 3 23:59:55 2016
  4. @@ -1046,6 +1046,9 @@ sub _parse_normal {
  5. elsif ($ct[3]) {
  6. $msg->{'name'} = $ct[3];
  7. }
  8. + if ($msg->{'name'}) {
  9. + $msg->{'name'} = Encode::decode("MIME-Header", $msg->{'name'});
  10. + }
  11. $msg->{'boundary'} = $boundary;