subject encoding bug
Bug #1582819 reported by
carlos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When mailman receives a message with =?ISO-8859-2?Q? in it twice, the second =?ISO-8859-2?Q? gets encoded, and looks like this for example:
=3F=3D=
Where the position of the newly inserted encoding is between the "I" and "SO" of the original encoding sign ( which is not recognized by the mailman )
To post a comment you must log in.
I am unable to duplicate exactly what you describe, but I do see an issue in that this:
Subject: =?ISO-8859- 2?Q?Part_ =31_?== ?ISO-8859- 2?Q?Part_ =32_?=
gets changed to
Subject: [List1] =?iso-8859- 2?q?Part_ 1_=3F=3D= 3D=3FISO- 8859-2= 3FQ=3FPart_ 2?=
however the incoming Subject is non-compliant. RFC2047 section 5(1) says in part:
Ordinary ASCII text and 'encoded-word's may appear together in the same header field. However, an 'encoded-word' that appears in a header field defined as '*text' MUST be separated from any adjacent 'encoded-word' or 'text' by 'linear- white-space' .
If I add a space as in
Subject: =?ISO-8859- 2?Q?Part_ =31_?= =?ISO-8859- 2?Q?Part_ =32_?=
the result is
Subject: [List1] =?iso-8859- 2?q?Part_ 1_Part_ 2?=
which is correct.
If you see this issue with an RFC 2047 compliant encoded Subject: or other header, pleas provide the exact header that causes the issue.