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

--- Comment #3 from Henrik Krohns <[email protected]> ---
uri_list_canonicalize now detects if it's called by new usage style and will
use $rb to check for valid domain in this case.

  my @uris;
  my $rb;
  if (ref($_[0]) eq 'ARRAY') {
    # New call style:
    # - reference to array of redirector_patterns
    # - reference to array of URIs
    # - reference to $self->{main}->{registryboundaries}
    @uris = @{$_[0]};
    $rb = $_[1];
  } else {
    # Old call style:
    # - reference to array of redirector_patterns
    # - rest of the arguments is list of uris
    @uris = @_;
  }



Committed to trunk. 3.4 is in RTC mode, needs votes for possible commit.

Sending        trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Sending        trunk/lib/Mail/SpamAssassin/Util.pm
Sending        trunk/t/uri.t
Transmitting file data ...done
Committing transaction...
Committed revision 1887669.

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

Reply via email to