Re: [Exim] authenticator/lookup problem

Góra strony
Delete this message
Reply to this message
Autor: Frank Elsner
Data:  
Dla: Philip Hazel
CC: exim-users
Temat: Re: [Exim] authenticator/lookup problem
On Thu, 25 Jan 2001 12:35:42 GMT Philip Hazel wrote:
> On Thu, 25 Jan 2001, Frank Elsner wrote:


[ authenticator problem description ]

> Oh dear. You seem to have uncovered a nasty bug. The failing of the
> lookup results in a blank string, and I have just tested
>
> ${if crypteq{abcde}{}{yes}{no}}
>
> and it gives the answer "yes". This must be some artefact of the way the
> code handles "crypteq". I will investigate it after lunch and post a
> patch.
>
> Meanwhile, however, you can easily get round the problem by supplying a
> junk, non-empty string when the lookups fail. After each {$value} insert
> {junk}.


Great idea, works.

Kind regards,
              Frank Elsner