You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2010/04/16 06:51:32 UTC
svn commit: r934685 -
/spamassassin/trunk/rulesrc/sandbox/jhardin/20_lotsa_money.cf
Author: jhardin
Date: Fri Apr 16 04:51:32 2010
New Revision: 934685
URL: http://svn.apache.org/viewvc?rev=934685&view=rev
Log:
Fix "malformed UTF8" errors
Modified:
spamassassin/trunk/rulesrc/sandbox/jhardin/20_lotsa_money.cf
Modified: spamassassin/trunk/rulesrc/sandbox/jhardin/20_lotsa_money.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/20_lotsa_money.cf?rev=934685&r1=934684&r2=934685&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_lotsa_money.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_lotsa_money.cf Fri Apr 16 04:51:32 2010
@@ -180,7 +180,8 @@ body __COURIER /\bcourier\s(?
body __SUM_OF_FUND /\b(?:sum|release|freigabe)\s(?:of|der)\s(?:amount|fund|investment|mittel)\b/i
-body __BENEFICIARY /\bb[e\xe9]n[e\xe9]fi(?:c|sh)i?ai?r(?:y|ies|es?)\b/i # TODO fix http://hudson.zones.apache.org/hudson/job/SpamAssassin-trunk/5309/testReport/junit/make_test/t_recreate_t/test______9/
+# [\xc3][\xa9] avoids "malformed UTF8" errors that plain \xc3\xa9 can experience.
+body __BENEFICIARY /\bb(?:[e\xe9]n[e\xe9]|[\xc3][\xa9]n[\xc3][\xa9])fi(?:c|sh)i?ai?r(?:y|ies|es?)\b/i
body __DIPLOMATIC /\bdiplomatic\b/i
body __FEES /\b(?:security|safe\w*|courier|registration|pay|paid|up-?front|processing|delivery|transfer)[\s\w]{0,15}\s(?:fee|charge)s?\b/i
body __LUCKY_WINNER /\b(?:lucky|gl.cklich(?:en)?)\s(?:ge)?win+ers?\b/i
@@ -189,7 +190,7 @@ body __NIGERIA /\bnigeria\b/i
body __IVORY_COAST /\b(?:Cote\s?D.Ivoire|Ivory\s?Coast)\b/i
body __BURKINA_FASO /\bburkina\s?faso\b/i
body __GHANA /\bghana\b/i
-body __BENIN /\bb(?:[e\xe9]|[\xc3][\xa9])nin\b/i # TODO fix http://hudson.zones.apache.org/hudson/job/SpamAssassin-trunk/5309/testReport/junit/make_test/t_recreate_t/test______9/
+body __BENIN /\bb(?:[e\xe9]|[\xc3][\xa9])nin\b/i
meta __AFRICAN_STATE (__NIGERIA || __IVORY_COAST || __BURKINA_FASO || __GHANA || __BENIN || __AFR_UNION)
body __YOUR_PERM /\byour\spermission\b/i
body __CONTACT_YOU /\bcontacting\syou\b/i