[Users] [Bug 3561] New: HTML <a> tag with no href makes message display incorrectly.

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Nov 10 14:54:21 CET 2015


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3561

            Bug ID: 3561
           Summary: HTML <a> tag with no href makes message display
                    incorrectly.
    Classification: Unclassified
           Product: Claws Mail
           Version: GIT
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: UI/Message View
          Assignee: users at lists.claws-mail.org
          Reporter: mail at artificialworlds.net

If I receive an email containing an HTML <a> tag with no href attribute, the
email displays incorrectly.


To reproduce, create a file called "tmp.eml" like this:


>From nobody Tue Nov 10 10:03:36 2015
Subject: a without href
From: a at example.com
To: b at example.com
Date: 10 Nov 2015 09:39:01 GMT
Content-Type: text/html; charset=UTF-8


quux, foo <a>bar</a> baz




In Claws-Mail go to File -> Import Mbox File and choose to import tmp.eml.

The Message imports correctly, but displays incorrectly:

- The word "quux" is missing
- "foo bar" is shown as a hyperlink (it should be just "bar")
- The URL of the hyperlink is "quux"

If I try the same thing with "quux, " removed, the behaviour is still wrong,
but now "foo" disappears, and "bar" appears as a hyperlink with URL "foo".

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



More information about the Users mailing list