[spambayes-dev] crash from sb_imapfilter.py
Tony Meyer
tameyer at ihug.co.nz
Thu Sep 30 04:46:43 CEST 2004
> I received a couple of junk mails that caused my sb_imapfilter.py to
> crash. The problem was that the messages contained a space
> inside the brackets of a Message-ID (even though that's probably
> illegal). This caused the "id" of the message to contain a space,
> and this gave difficulty in the IMAP SEARCH command in the Save method.
>
> I see two possible solutions:
> - strip() the message-id before it is assigned to the "id" field, or
> - properly quote the search command in the Save method.
>
> I think it's probably a good idea to do the latter anyway, so
> here is a patch. I can check this in if there is agreement.
Have you checked this in? (I don't recall seeing it). I was away when you
posted the message, and I don't think there's anyone else here that cares
about imapfilter <0.5 wink>, so you probably got no response.
Anyway +1 from me for checking it in.
=Tony Meyer
More information about the spambayes-dev
mailing list