Control: found -1 3.4.1-7 Control: forwarded -1 https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7303 Control: tags -1 + patch
This bug had been reported upstream last year. Attached is a trivial patch which fixes the bug. -- Gerald Turner <gtur...@unzane.com> Encrypted mail preferred! OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80 3858 EC94 2276 FDB8 716D
Index: lib/Mail/SpamAssassin/Plugin/PDFInfo.pm =================================================================== --- lib/Mail/SpamAssassin/Plugin/PDFInfo.pm (revision 1799831) +++ lib/Mail/SpamAssassin/Plugin/PDFInfo.pm (working copy) @@ -415,7 +415,7 @@ my $type = $p->{'type'} =~ m@/([\w\-]+)$@; my $name = $p->{'name'}; - my $cte = lc $p->get_header('content-transfer-encoding') || ''; + my $cte = lc($p->get_header('content-transfer-encoding') || ''); dbg("pdfinfo: found part, type=".($type ? $type : '')." file=".($name ? $name : '')." cte=".($cte ? $cte : '')."");
signature.asc
Description: PGP signature