spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzilla-dae...@bugzilla.spamassassin.org
Subject [Bug 5893] bayes_sql_override_username is ignored if value evaultes to 'false'
Date Thu, 06 Aug 2009 19:02:35 GMT
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5893


Mark Martinec <Mark.Martinec@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|Undefined                   |3.3.0




--- Comment #1 from Mark Martinec <Mark.Martinec@ijs.si>  2009-08-06 12:02:33 PST ---
Another manifestation of nonpedantic practice in some parts of code
where user-supplied strings are evaluated in places as Perl booleans,
instead of being tested for being defined or for being an empty string,
just like in Bug 5965.

I hope I caught all such cases dealing with username.
If not, please report and re-open.


  Bug 5893 (and Bug 5965): bayes_sql_override_username is ignored
  if value evalutes to 'false'
Sending        lib/Mail/SpamAssassin/BayesStore/MySQL.pm
Sending        lib/Mail/SpamAssassin/BayesStore/SQL.pm
Sending        lib/Mail/SpamAssassin/Client.pm
Sending        lib/Mail/SpamAssassin/SQLBasedAddrList.pm
Transmitting file data ....
Committed revision 801771 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=801771 ).

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message