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

            Bug ID: 7444
           Summary: unescaped left brace in regex,
                    lib/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm
                    line 921
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: spamassassin
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 5455
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5455&action=edit
Patch for lib/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm post-Perl 5.26

After upgrading Perl to 5.26, it started to complain whenever spamassassin or
sa-update is being run:

Unescaped left brace in regex is deprecated here (and will be fatal in Perl
5.30), passed through in regex; marked by <-- HERE in m/^(.{ <-- HERE
,200}).*$/ at
/usr/local/lib/perl5/site_perl/Mail/SpamAssassin/PerMsgStatus.pm line 921.

Patch attached.

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

Reply via email to