Bug in lexer_v3

Evgeny Kotsuba evgen at shatura.laser.ru
Fri Jan 14 03:12:07 CET 2005


Hi,

I have just foud bug that seems is present  throw as min v 0.15.8

If mail is in form
[any header lines]
Content-Type: message/partial;
[some header lines]

Date: blabla
From: blabla

 say  simply:
------1.msg:  -8<---------------
Content-Type: message/partial;

Date: blabla
From: blabla
-------8<---------------
Then we have
X:\test3>bogofilter.exe  -n -vvvv -xW -I1.msg
p: 2, s: 0
d: word_db
p: 5, s: 2
p: 1, s: 2
fn: word_db\wordlist.db, rc: 0
### collect_words() begins
  1 head:Content-Type
  2 head:message
  3 head:partial
  4 head:Date
  5 blabla
============
  4 head:Date is wrong and  should be "4 Date"  and is coming from 
lexer_v3.c 

SY,
EK

PS: by the way, is there any global indicator This_is_header ?







More information about the bogofilter-dev mailing list