"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/Mail/SpamAssassin/HTML.pm" between
Mail-SpamAssassin-3.4.4.tar.bz2 and Mail-SpamAssassin-3.4.5.tar.bz2

About: SpamAssassin is a mail filter that uses a wide range of heuristic tests on mail headers and body text to identify "spam" (also known as unsolicited commercial email) incl. Bayesian (statistical) spam filter and several internet-based realtime blacklists.

HTML.pm  (Mail-SpamAssassin-3.4.4.tar.bz2):HTML.pm  (Mail-SpamAssassin-3.4.5.tar.bz2)
skipping to change at line 380 skipping to change at line 380
# ordered by frequency of tag groups # ordered by frequency of tag groups
if ($tag =~ /^(?:body|table|tr|td)$/) { if ($tag =~ /^(?:body|table|tr|td)$/) {
if (defined $attr->{background}) { if (defined $attr->{background}) {
$self->push_uri($tag, $attr->{background}); $self->push_uri($tag, $attr->{background});
} }
} }
elsif ($tag =~ /^(?:a|area|link)$/) { elsif ($tag =~ /^(?:a|area|link)$/) {
if (defined $attr->{href}) { if (defined $attr->{href}) {
$self->push_uri($tag, $attr->{href}); $self->push_uri($tag, $attr->{href});
} }
if (defined $attr->{'data-saferedirecturl'}) {
$self->push_uri($tag, $attr->{'data-saferedirecturl'});
}
} }
elsif ($tag =~ /^(?:img|frame|iframe|embed|script|bgsound)$/) { elsif ($tag =~ /^(?:img|frame|iframe|embed|script|bgsound)$/) {
if (defined $attr->{src}) { if (defined $attr->{src}) {
$self->push_uri($tag, $attr->{src}); $self->push_uri($tag, $attr->{src});
} }
} }
elsif ($tag eq "form") { elsif ($tag eq "form") {
if (defined $attr->{action}) { if (defined $attr->{action}) {
$self->push_uri($tag, $attr->{action}); $self->push_uri($tag, $attr->{action});
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)