You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/08/24 14:57:36 UTC

[Bug 5625] New: Regexes stop working in non-unicode environment after charset normalization to utf8

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5625

           Summary: Regexes stop working in non-unicode environment after
                    charset normalization to utf8
           Product: Spamassassin
           Version: 3.2.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Rules (Eval Tests)
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: meerkat@index.msk.ru


here it is local.cf part:
  normalize_charset 1
  BODY TEST_RULE /unicode-str/ 
  score TEST_RULE 0.0
==
codepage is koi8-r.

* TEST_RULE never hits *

Adding 'use utf8' to Plugin/Check.pm temporary solved the problem for me.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5625] Regexes stop working in non-unicode environment after charset normalization to utf8

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5625





------- Additional Comments From meerkat@index.msk.ru  2007-08-24 11:05 -------
(In reply to comment #1)
> You have the score set to zero for your rule.  Rules with a zero score do not 
> run, so will never get hits.  If you want it to run set the score to .001 or 
> some other non-zero value.
> 
It was bad example. Real score was 1.99

> It sounds like htis is really reporting a but in UTF8 rules, where they DO run 
> with a zero score.
> 

It was bad example. Real score was 1.99.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 5625] Regexes stop working in non-unicode environment after charset normalization to utf8

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5625





------- Additional Comments From lwilton@earthlink.net  2007-08-24 08:59 -------
You have the score set to zero for your rule.  Rules with a zero score do not 
run, so will never get hits.  If you want it to run set the score to .001 or 
some other non-zero value.

It sounds like htis is really reporting a but in UTF8 rules, where they DO run 
with a zero score.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.