https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6360
Mark Martinec <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #4 from Mark Martinec <[email protected]> --- A simple fix, but requires perl 5.10 or later (provides the defined-or operator). A solution with a ?: operator is also possible, but is kinda clumsy. Perhaps a candidate for 4.0. --- lib/Mail/SpamAssassin/Plugin/Check.pm (revision 1704670) +++ lib/Mail/SpamAssassin/Plugin/Check.pm (working copy) @@ -1383,8 +1383,8 @@ if ($matching_string_unavailable) { $match = '"<YES>"'; # nothing better to report, $& is not set by this rule } else { - # simple, but suffers from 'user data interpreted as a boolean', Bug 6360 - $match = '($' . '&' . '|| "negative match")'; + # Bug 6360 + $match = '($' . '&' . '// "negative match")'; } my $debug_code = ''; -- You are receiving this mail because: You are the assignee for the bug.
