spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quin...@apache.org
Subject svn commit: r106216 - /spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm
Date Mon, 22 Nov 2004 20:44:50 GMT
Author: quinlan
Date: Mon Nov 22 12:44:50 2004
New Revision: 106216

Modified:
   spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm
Log:
remove blank_uri code, tests didn't seem to work well


Modified: spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm
Url: http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm?view=diff&rev=106216&p1=spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm&r1=106215&p2=spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm&r2=106216
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm	(original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm	Mon Nov 22 12:44:50 2004
@@ -135,7 +135,6 @@
   $self->put_results(comment => $self->{comment});
   $self->put_results(title => $self->{title});
   $self->put_results(anchor => $self->{anchor});
-  $self->put_results(blank_uri => $self->{blank_uri});
 
   # final result hashes
   $self->put_results(inside => $self->{inside});
@@ -337,33 +336,21 @@
   # ordered by frequency of tag groups
   if ($tag =~ /^(?:body|table|tr|td)$/) {
     if (defined $attr->{background}) {
-      if ($attr->{background} eq '') {
-	push(@{$self->{blank_uri}}, $tag);
-      }
       $self->push_uri($attr->{background});
     }
   }
   elsif ($tag =~ /^(?:a|area|link)$/) {
     if (defined $attr->{href}) {
-      if ($attr->{href} eq '') {
-	push(@{$self->{blank_uri}}, $tag);
-      }
       $self->push_uri($attr->{href});
     }
   }
   elsif ($tag =~ /^(?:img|frame|iframe|embed|script)$/) {
     if (defined $attr->{src}) {
-      if ($attr->{src} eq '') {
-	push(@{$self->{blank_uri}}, $tag);
-      }
       $self->push_uri($attr->{src});
     }
   }
   elsif ($tag eq "form") {
     if (defined $attr->{action}) {
-      if ($attr->{action} eq '') {
-	push(@{$self->{blank_uri}}, $tag);
-      }
       $self->push_uri($attr->{action});
     }
   }

Mime
View raw message