Re: [Exim] authenticator/lookup problem

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Frank Elsner
Fecha:  
A: Philip Hazel
Cc: exim-users
Asunto: 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