You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2020/04/10 08:22:55 UTC

svn commit: r1876350 - in /spamassassin: branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm trunk/lib/Mail/SpamAssassin/Plugin/Pyzor.pm

Author: hege
Date: Fri Apr 10 08:22:55 2020
New Revision: 1876350

URL: http://svn.apache.org/viewvc?rev=1876350&view=rev
Log:
Bug 7790 - Allow = character in pyzor_options

Modified:
    spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Pyzor.pm

Modified: spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm?rev=1876350&r1=1876349&r2=1876350&view=diff
==============================================================================
--- spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm (original)
+++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/Plugin/Pyzor.pm Fri Apr 10 08:22:55 2020
@@ -149,7 +149,7 @@ removing one of them.
 =item pyzor_options options
 
 Specify additional options to the pyzor(1) command. Please note that only
-characters in the range [0-9A-Za-z ,._/-] are allowed for security reasons.
+characters in the range [0-9A-Za-z =,._/-] are allowed for security reasons.
 
 =cut
 
@@ -160,7 +160,7 @@ characters in the range [0-9A-Za-z ,._/-
     type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING,
     code => sub {
       my ($self, $key, $value, $line) = @_;
-      if ($value !~ m{^([0-9A-Za-z ,._/-]+)$}) {
+      if ($value !~ m{^([0-9A-Za-z =,._/-]+)$}) {
 	return $Mail::SpamAssassin::Conf::INVALID_VALUE;
       }
       $self->{pyzor_options} = $1;

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Pyzor.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Pyzor.pm?rev=1876350&r1=1876349&r2=1876350&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Pyzor.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Pyzor.pm Fri Apr 10 08:22:55 2020
@@ -207,7 +207,7 @@ removing one of them.
 =item pyzor_options options
 
 Specify additional options to the pyzor(1) command. Please note that only
-characters in the range [0-9A-Za-z ,._/-] are allowed for security reasons.
+characters in the range [0-9A-Za-z =,._/-] are allowed for security reasons.
 
 =cut
 
@@ -218,7 +218,7 @@ characters in the range [0-9A-Za-z ,._/-
     type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING,
     code => sub {
       my ($self, $key, $value, $line) = @_;
-      if ($value !~ m{^([0-9A-Za-z ,._/-]+)$}) {
+      if ($value !~ m{^([0-9A-Za-z =,._/-]+)$}) {
 	return $Mail::SpamAssassin::Conf::INVALID_VALUE;
       }
       $self->{pyzor_options} = $1;