http://bugzilla.spamassassin.org/show_bug.cgi?id=4322





------- Additional Comments From [EMAIL PROTECTED]  2005-05-10 12:03 -------
Subject: Re:  RelayCountry fails to make its result accessible 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Perhaps we should change the end of get() from:
> 
>     $result = join('', $self->{msg}->get_header($request, $getraw));
>     $result = undef if !$result;
> 
> to look for a metadata string of the same name.  Something like:
> 
>     $result = $self->{msg}->{metadata}->{$request} || join('', 
> $self->{msg}->get_header($request, 
> $getraw));
>     $result = undef if !$result;

yeah, I'm pretty sure it used to do that.

I'd prefer to do it the other way around, though, as that'll slow down the
99% case that way.  (rules looking for headers is much more common than
looking for metadata.)

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFCgQV5MJF5cimLx9ARArTMAJ41sXmjEUSgoNgawV16uipTxdAYBwCfWfsm
9dFZPr2zUmGRpXMTfmQtVfM=
=Ef0O
-----END PGP SIGNATURE-----





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to