You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/08/04 00:11:55 UTC

[Bug 4515] New: content preview omits first paragraph when no Subject:

http://bugzilla.spamassassin.org/show_bug.cgi?id=4515

           Summary: content preview omits first paragraph when no Subject:
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P4
         Component: spamassassin
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: jgmyers@proofpoint.com


When run on a message without a Subject: header, the content preview incorrectly
contains the second paragraph, not the first.

Similarly, code inspection suggests that if a Subject header is longer than
MAX_BODY_LINE_LENGTH, the content preview will incorrectly contain text taken
from wherever the subject is wrapped.

There needs to be a clear, deterministic way to obtain the decoded body text
absent the subject.  The same mehtod should also be work for the visible body text.



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

[Bug 4515] content preview omits first paragraph when no Subject:

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4515


jgmyers@proofpoint.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|Undefined                   |3.2.0




------- Additional Comments From jgmyers@proofpoint.com  2005-11-07 20:55 -------
Committed revision 331590.

Doesn't deal with the case where the Subject header is longer than
MAX_BODY_LINE_LENGTH.  The alternatives aren't particularly attractive.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

[Bug 4515] content preview omits first paragraph when no Subject:

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4515





------- Additional Comments From jgmyers@proofpoint.com  2005-08-03 15:19 -------
Created an attachment (id=3050)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=3050&action=view)
work in progress

This patch fixes the issue with missing subjects, but not the issue with long
subjects.  Either we would need to risk not splitting long subject lines or we
would need to add an argument to the functions specifying whether or not they
should include the subject.




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

[Bug 4515] content preview omits first paragraph when no Subject:

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4515


jgmyers@proofpoint.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dev@spamassassin.apache.org
         AssignedTo|dev@spamassassin.apache.org |jgmyers@proofpoint.com




------- Additional Comments From jgmyers@proofpoint.com  2005-10-14 16:25 -------
Taking.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.