Subject wrap with tab character

Bug #265915 reported by Swen-haubold
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Medium
Unassigned

Bug Description

Mailman: 2.1.2

The subject line is wrapped by a tab character, if the line
contains more than 78 characters. In this case a space is
replaced by an tab character.

This behaviour gives trouble with some e-mail client and
is also not handled by MHonArc correctly.

In an e-mail client a long space is shown or a special
character. MHonArc simply removes the tab character
therefore two words are combined, e.g. the tab is
inserted between the two word "and" and "delivery"; in

the archive the subject contains the new word
"anddelivery"

[http://sourceforge.net/tracker/index.php?func=detail&aid=736559&group_id=103&atid=100103]

Revision history for this message
Disser (disser) wrote :

I notice this also with Mailman 2.1.1. I don't see code in mailman doing
it,
so it appears to be in email.Header or unicode.

Revision history for this message
Jwilson75503 (jwilson75503) wrote :

This behavior seems to still occur in 2.1.6

http://www.mail-archive.com/mailman-developers%
40python.org/msg09027.html

Revision history for this message
Tokio Kikuchi (tkikuchi) wrote :

RFC 2822 example states:

           Subject: This is a test

   can be represented as:

           Subject: This
            is a test

Therefore, if MHonArc or a MUA simply removes tab char and
not insertes a space in place of the FWS (folding white
space), it is his fault. Mailman now select FWS from tab or
space as appeared in the original message.

Revision history for this message
Bovineone (bovineone) wrote :

Originator: NO

Still occurs with Mailman 2.1.9 and MS Outlook 2003 as MUA.

It seems that many MUAs may implement header unfolding by removing the
CRLF and the first WSP chracter, rather than only the CRLF as the RFC
recommends.

RFC 2882 also states that the line folding limit "MUST be no more than 998
characters, and SHOULD be no more than 78 characters, excluding the CRLF."
It seems reasonable in these modern days to use longer line lengths beyond
the conservative 78 character limit and use the 998 limit instead.
Increasing the line folding limit would not really fix the original
problem, but would reduce the impact on most users.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.