You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2009/05/05 07:34:03 UTC
[Bug 5201] bad parsing of From header
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5201
--- Comment #3 from Henrik Krohns <he...@hege.li> 2009-05-04 22:34:03 PST ---
Is there a reason it can't look for the last <> ?
$result =~ s/.*<(.*?)>.*$/$1/;
Or maybe even something "safer" like:
$result =~ s/.*<([^>]*)>[^<]*$/$1/;
I have no idea how clients parse headers..
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.