https://bz.apache.org/SpamAssassin/show_bug.cgi?id=6043

Kent Oyer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Kent Oyer <[email protected]> ---
I think this can be accomplished in a plugin by checking the `types` hashref
for 'a' or 'parsed'. For example:

my $detail = $permsg->get_uri_detail_list();
while(my($uri, $info) = each %{ $detail }) {
  if ( $info->{'types'}->{'a'} ) {
    # this URI came from a clickable link
  }
  if ( $info->{'types'}->{'parsed'} ) {
    # this URI was parsed from text
  }
}

Note that a URI can have both types 'parsed' and 'a' if the URI was found in
both places.

I'm not sure if this option was available 15 years ago when the question was
asked.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to