https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5780





--- Comment #40 from Michael Parker <[email protected]>  2009-04-07 21:29:10 
PST ---
It might be working ok and I'm just seeing some odd issue.  It does seem like
uris without domains don't make it through this chunk of code in
_get_parsed_uri_list:

        my @tmp =
Mail::SpamAssassin::Util::uri_list_canonify($redirector_patterns, $uri);
        my $goodurifound = 0;
        foreach my $cleanuri (@tmp) {
          my $domain = Mail::SpamAssassin::Util::uri_to_domain($cleanuri);
          if ($domain) {
            # bug 5780: Stop after domain to avoid FP, but do that after all
deobfuscation of u
rlencoding and redirection
            $cleanuri =~ s/^(https?:\/\/[^:\/]+).*$/$1/ if $rblonly;
            push (@uris, $cleanuri);
            $goodurifound = 1;
          }
        }
        next unless $goodurifound;
        push @uris, $rawuri unless $rblonly;

Maybe it gets added later from the HTML uri metadata?


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to