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

            Bug ID: 7713
           Summary: html img with dimensions in the style attribute is not
                    firing HTML_IMAGE_RATIO_02
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: mar...@lispworks.com
  Target Milestone: Undefined

Created attachment 5654
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5654&action=edit
Sample email

The attached sa-img-style-missed.eml (distilled from a 5MB spam) does not fire
the HTML_IMAGE_RATIO_02 rule even though the image is very large relative to
the text.

The problem is that the img tag has its width and height in the style
attribute, which are not detected by Mail::SpamAssassin::HTML::html_tests. 
(The naturalheight and naturalwidth attributes seem to be spurious.)

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

Reply via email to