Mailing List Archive

Mail::SPF uses $& and $`
Julian -- Any chance that you could avoid this?

Daryl


-------- Original Message --------
Subject: [Bug 5312] Razor plugin uses forbidden $' operator
Date: Wed, 6 Jun 2007 08:29:30 -0700 (PDT)
From: bugzilla-daemon@issues.apache.org
To: dev@spamassassin.apache.org
References: <5312.dev@spamassassin.apache.org>

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5312





------- Additional Comments From Mark.Martinec@ijs.si 2007-06-06 08:29
-------
Note that NetAddr::IP is infested with $& and $` thoroughly,
including its autoloaded modules.

Unfortunately Mail::SPF uses NetAddr::IP,
and SPF plugin for SA is loaded through init.pre by default.

$ perl -MNetAddr::IP -MDevel::SawAmpersand \
-e 'printf("SawA: %d\n",Devel::SawAmpersand::sawampersand)'
SawA: 1

$ perl -MMail::SPF -MDevel::SawAmpersand \
-e 'printf("SawA: %d\n",Devel::SawAmpersand::sawampersand)'
SawA: 1




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

-------------------------------------------
-----------------------------------------------------------------------
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?member_id=1311533&user_secret=456ecacd
Powered by Listbox: http://www.listbox.com
Re: Mail::SPF uses $& and $` [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daryl C. W. O'Shea wrote:
> Julian -- Any chance that you could avoid this?

Avoid what?

Avoid using NetAddr::IP? No, unless you show me another IP address Perl
class that (1) supports IPv6, and (2) is correct. No, neither Net::IP nor
Net::IPAddress cuts it.

Have you reported this to the NetAddr::IP authors?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGZt8LwL7PKlBZWjsRAt5RAJ9NtfjcXPc3td22EUzX1NftP37/iACgvfCS
uEyPMHWk/Cr2xzBtwOv446Y=
=Nvtz
-----END PGP SIGNATURE-----

-------------------------------------------
-----------------------------------------------------------------------
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?member_id=1311533&user_secret=456ecacd
Powered by Listbox: http://www.listbox.com
Re: Re: Mail::SPF uses $& and $` [ In reply to ]
Julian Mehnle wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Daryl C. W. O'Shea wrote:
>> Julian -- Any chance that you could avoid this?
>
> Avoid what?

Nevermind, I read Mark's note as Mail::SPF also "being infested with $&
and $` thoroughly". Obviously that's not the case and it's just
NetAddr::IP.


> Avoid using NetAddr::IP? No, unless you show me another IP address Perl
> class that (1) supports IPv6, and (2) is correct. No, neither Net::IP nor
> Net::IPAddress cuts it.
>
> Have you reported this to the NetAddr::IP authors?

No.


Daryl

-------------------------------------------
-----------------------------------------------------------------------
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?member_id=1311533&user_secret=456ecacd
Powered by Listbox: http://www.listbox.com