https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8528

            Bug ID: 8528
           Summary: HTML entities decode to Latin-1 bytes with
                    HTML::Parser older than 3.72
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 6230
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6230&action=edit
require HTML::Parser 3.72 or later

HTML::Parser versions older than 3.72 have a utf-8 bug that surfaced as a
failure of t/html_whitespace.t, a new test in 4.0.3. As a bug in SpamAssassin,
it goes back to 3.4.1, but only affects installations with normalize_charset
off and an old HTML::Parser, and the effects were not obvious.

CentOS 7 (and RHEL 7) and Amazon Linux 2 package HTML::Parser 3.71, so a
default install fails the test in 4.0.3.

The attached patch raises the minimum version of HTML::Parser from 3.43 to 3.72
in Makefile.PL, DependencyInfo.pm and INSTALL, and adds a note to UPGRADE.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to