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

            Bug ID: 8218
           Summary: HTML URIs with linebreaks not parsed with
                    Content-Transfer-Encoding: quoted-printable
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
          Assignee: dev@spamassassin.apache.org
          Reporter: b...@surbl.org
  Target Milestone: Undefined

It appears PerMsgStatus.pm will not parse URI's that contain a linebreak when
Content-Transfer-Encoding: quoted-printable  is enabled.

For example this blob:
<A style=3D"FONT-SIZE: 16px; TEXT-DECORATION: none; FONT-FAMILY: Helvetica,=
sans-serif; BACKGROUND: rgb(16,163,127) 0% 50%; FONT-WEIGHT: 400; COLOR: wh=
ite; PADDING-BOTTOM: 11px; PADDING-TOP: 12px; PADDING-LEFT: 20px; MARGIN: 0=
px; LINE-HEIGHT: 24px; PADDING-RIGHT: 20px" href="http://hashbltest.s=
urbl.org/example_uri">Verify email address</A>


Will return the following entry from get_uri_detail_list:
 $VAR1 = {
           'types' => {
                        'schemeless' => 1,
                        'parsed' => 1,
                        'unlinked' => 1
                      },
           'cleaned' => [
                          'http://urbl.org/example_uri'
                        ],
           'hosts' => {
                        'urbl.org' => 'urbl.org'
                      },
           'domains' => {
                          'urbl.org' => 1
                        }
         };


Rather than the entire URI (http://hashbltest.surbl.org/example_uri) as we
would expect

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

Reply via email to