[imp] Re: IMP 3.1 filter rules conversiom code yields spurius
blacklist entry
Steve Lidie
sol0 at Lehigh.EDU
Fri Jan 7 10:55:45 PST 2005
On Jan 6, 2005, at 1:17 PM, Steve Lidie wrote:
> Given this IMP-scoped key "filters":
>
...
> The INGO PHP program convert_imp_filters.php properly creates the new
> INGO-scoped key "rules":
>
...
> The problem is that it also makes this blacklist entry:
>
> ingo blacklist
> a:2:{s:1:"a";a:4:{i:0;s:1:"c";i:1;s:1:"d";i:2;s:1:"p";i:3;s:1:"s";}s:
> 1:"f";s:0:"";}
>
> When the user clicked on Mail her entire mailbox was deleted, because
> of the entries "a", "c", "d", "p" and "s"!
>
>
I believe the attached patch is appropriate - against ingo 1.0.
Thanks,
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: convert_imp_filters.php.diff
Type: application/octet-stream
Size: 551 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20050107/916956a6/convert_imp_filters.php.obj
-------------- next part --------------
More information about the imp
mailing list