Footer sometimes appended to last line of message
Bug #266344 reported by
Jikamens
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If someone submits a multipart/
and the text part doesn't have a trailing newline,
then the footer is started at the end of the last
line in the text part, rather than starting on a new
line.
I think the code that appends the footer should be
fixed so that if the text message doesn't end with a
newline, one is added before the footer is appended.
Thanks.
[http://
To post a comment you must log in.
Can you be more specific as to how this occurs. In alternative, the footer won't be added to the
particular, if the message after content filtering is still
multipart/
text/plain alternative. In this case, the message will be
wrapped in a multipart/mixed outer part and the footer
appended as a separate text/plain part.
Footers are only added to a text/plain part when the entire
message (perhaps after content filtering) is a single
text/plain part.
Note, I am not trying to say this is not a problem or it
shouldn't be fixed. I'm just trying to understand how it occurs.
Also, I'm not trying to say that this is a solution, but as
a workaround, you could always add a blank line to the
beginning of the footer.