https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8301
Bug ID: 8301
Summary: Undefined Subroutine in Redirectors Plugin
Product: Spamassassin
Version: 4.0.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Plugins
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
While attempting to use url_redirector_params, I encountered the following
error:
Undefined subroutine &Mail::SpamAssassin::Plugin::Redirectors::compile_regexp
called at /usr/local/share/perl5/5.32/Mail/SpamAssassin/Plugin/Redirectors.pm
line 229
It appears that the compile_regexp subroutine is missing from the current
context. To resolve this, the compile_regexp function should be added to
Mail::SpamAssassin::Util.
Proposed fix:
use Mail::SpamAssassin::Util qw(idn_to_ascii compile_regexp);
This modification ensures the required subroutine is correctly imported and
available for use.
--
You are receiving this mail because:
You are the assignee for the bug.