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 2004/02/14 00:25:45 UTC
[Bug 3044] New: SpamAssassin::find_all_addrs_in_line() misses addresses
http://bugzilla.spamassassin.org/show_bug.cgi?id=3044
Summary: SpamAssassin::find_all_addrs_in_line() misses addresses
Product: Spamassassin
Version: 2.63
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P3
Component: Libraries
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: meberdt@office.xerox.com
$ID_PATTERN in SpamAssassin::find_all_addrs_in_line() is too restrictive (e.g.
the function will fail to find <sa...@foo.com> because of the '=').
RFC2822 sec. 3.2.4 lists an addition 15 characters (beyond what $ID_PATTERN
currently recognizes) that are allowed in the "dot-atom" form of addresses.
I propose that $ID_PATTERN be expanded from
my $ID_PATTERN = '[-a-z0-9_\+\:\/\.]+';
to something along the lines of
my $ID_PATTERN = '[-\w\+\:\/\.\!\#\$\%\&\'\*\=\?\^\`\{\|\}\~]+';
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.