You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@spamassassin.apache.org on 2024/12/28 04:48:40 UTC

[Bug 8301] New: Undefined Subroutine in Redirectors Plugin

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: dev@spamassassin.apache.org
          Reporter: thanadon@gmail.com
  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.

[Bug 8301] Undefined Subroutine in Redirectors Plugin

Posted by bu...@spamassassin.apache.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8301

Giovanni Bechis <gi...@paclan.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 CC|                            |giovanni@paclan.it

--- Comment #1 from Giovanni Bechis <gi...@paclan.it> ---
Fix committed, thanks.

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