Author: gbechis
Date: Mon Aug 17 13:51:27 2026
New Revision: 1937178
Log:
add metadata to Redirectors subs, silence a warning on t/cross_user_config_leak.t test.
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Redirectors.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Redirectors.pm
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Redirectors.pm Mon Aug 17 13:21:25 2026 (r1937177)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Redirectors.pm Mon Aug 17 13:51:27 2026 (r1937178)
@@ -277,6 +277,7 @@ added by a bare-domain configuration.
push (@cmds, {
setting => 'clear_url_redirector',
+ type => $Mail::SpamAssassin::Conf::CONF_TYPE_NOARGS,
code => sub {
my ($self, $key, $value, $line) = @_;
if ($value eq '') {
@@ -306,6 +307,7 @@ restricts the match.
push (@cmds, {
setting => 'url_redirector_get',
+ type => $Mail::SpamAssassin::Conf::CONF_TYPE_HASH_KEY_VALUE,
code => sub {
my ($self, $key, $value, $line) = @_;
if ($value eq '') {
@@ -345,6 +347,7 @@ LWP).
push (@cmds, {
setting => 'url_redirector_selenium',
+ type => $Mail::SpamAssassin::Conf::CONF_TYPE_HASH_KEY_VALUE,
code => sub {
my ($self, $key, $value, $line) = @_;
if ($value eq '') {
@@ -400,6 +403,7 @@ only those are removed from the list.
push (@cmds, {
setting => 'clear_url_skip_redirect_to',
+ type => $Mail::SpamAssassin::Conf::CONF_TYPE_NOARGS,
code => sub {
my ($self, $key, $value, $line) = @_;
if ($value eq '') {
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.