http://bugzilla.spamassassin.org/show_bug.cgi?id=3287
Summary: get_uri_list generates more uri's than those which exist
in mail
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P5
Component: Libraries
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
wrote a trivial plugin which grabs the url's in a message via get_uri_list
sub get_uris {
my ($self, $permsgstatus) = @_;
@uris = $permsgstatus->get_uri_list();
foreach $uri (@uris) {
print STDERR "uri: $uri \n" ;
}
return 1;
}
running it on attached testcase generates the following output
uri: %20http://BNZTHE.BIZ/PH009/?affiliate_id=233524&campaign_id=407
uri: http://BNZTHE.BIZ/PH009/?affiliate_id=233524&campaign_id=407
uri: http://BNZTHE.BIZ/PH009/?affiliate_id=233524&campaign_id=407
egrep -i http < input
Your best deals are <a href="
http://BNZTHE.BIZ/PH009/?affiliate_id=233524&campaign_id=407">HERE</a><br><br>
<a href="http://BNZTHE.BIZ/PH009/?affiliate_id=233524&campaign_id=407">
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.