Autor: Michael Haardt Data: Para: exim-dev Assunto: [exim-dev] Re: Finding the haystack in the needle;
Sieve envelope bug
> Looks to me like the call to compare() in line 2059 reverses > the arguments for needle and haystack, which is consistent with the
> behavior I'm seeing (it only matches if the two strings are exactly the
> same). The patch below solves the problem for me, but I'll leave it to
> Michael to decide if it's correct or not.
Damn, you are right and my regression tests obviously didn't test
this! Thanks for spotting that bug. Philip, please commit the patch.
The other calls to compare() look right.
See, good identifiers are at least good for funny subjects on bug
reports. *:-)