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

           Summary: Text parsed URIs duplicated in URI detail list
           Product: Spamassassin
           Version: 3.2.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Text parsed URIs without a protocol prepended are duplicated, showing 2 entries
in M::SA::PerMsgStatus get_uri_detail_list(). The entries are as follows.

$uri_raw .......... http://www.example.net
$info->{cleaned} .. http://www.example.net

$uri_raw .......... www.example.net
$info->{cleaned} .. http://www.example.net www.example.net

This is a little bit redundant, isn't it? Given the cleaned list contains a
version with the protocol. The second one should be sufficient, as it is with
HTML extracted URIs.

Test case, to quickly see this:

  $ echo -e "\n example.net" | spamassassin -D uridnsbl
  [14033] dbg: uridnsbl: domain example.net in skip list
  [14033] dbg: uridnsbl: domain example.net in skip list

I also can come up with a tiny plugin that dumps the relevant info, if anyone
is interested.

Text parsed URIs with protocol are fine, as are HTML extracted URIs from links,
with or without protocol.

-- 
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