On 03/07/2013 03:32 AM, Mark Martinec wrote:
Yes, I am using DecodeShortURLs
I have it on both the 3.3.2 and 3.4 systems

Both show:
0.0 HAS_SHORT_URL          Message contains one or more shortened URLs

So I guess the question is which one is running DecodeShortURLs  correctly
3.4 or 3.3.2

Missing the {hosts} part, which is now required in 3.4.0:

--- DecodeShortURLs.pm~ 2011-07-25 17:56:57.000000000 +0200
+++ DecodeShortURLs.pm  2013-03-07 03:27:24.000000000 +0100
@@ -474,5 +474,6 @@
    foreach (@{$info->{cleaned}}) {
-    my $dom = Mail::SpamAssassin::Util::uri_to_domain($_);
+    my($dom,$host) = Mail::SpamAssassin::Util::uri_to_domain($_);

      if ($dom && !$info->{domains}->{$dom}) {
+      $info->{hosts}->{$host} = $dom;
        $info->{domains}->{$dom} = 1;


Mark,

What version of the plugin are you patching?



Reply via email to