MIME-header-encoded ',' splits/cuts "From" header

Bug #1396935 reported by Jan Kratochvil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Mark Sapiro

Bug Description

For mail with a header:
  From: =?utf-8?B?TVVTSUwsIFRvbcOhxaE=?= <email address hidden>

Mailman will decode it as mail address <musil> asking for non-subscribed mail address approval.
$ perl -MMIME::Base64 -le 'print decode_base64("TVVTSUwsIFRvbcOhxaE=")'
MUSIL, Tomáš

The mail comes from some Microsoft crap but it is a bug in Mailman as according to RFC 2047 6.2:
  NOTE: Decoding and display of encoded-words occurs *after* a structured field body is parsed into tokens.
at least according to: http://forums.mozillazine.org/viewtopic.php?t=318281

Revision history for this message
Jan Kratochvil (jan-kratochvil) wrote :

mailman-2.1.12-18.el6.x86_64

Revision history for this message
Mark Sapiro (msapiro) wrote :

I am unable to duplicate this. Can you give me more info on exactly how this occurs?

I have created the simple message:

To: <email address hidden>
From: =?utf-8?B?TVVTSUwsIFRvbcOhxaE=?= <email address hidden>
Subject: zzz

Hi

If I instantiate a Mailman.Message.Message object from this, both the get_sender and get_senders methods return the expected <email address hidden> address and if I post that message to the <email address hidden> list where <email address hidden> is a member, it is seen as a member post.

Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
status: New → Incomplete
Revision history for this message
Jan Kratochvil (jan-kratochvil) wrote :

I have noticed now 2.1.12 is pretty old (RHEL-6), I will try to upgrade it to 2.1.18 first, sorry about that.

Revision history for this message
Jan Kratochvil (jan-kratochvil) wrote :

That may needlessly break my lists, I can live with this bug for now, please close this ticket when you have verified it as fixed.

Revision history for this message
Mark Sapiro (msapiro) wrote :

I didn't notice this was with 2.1.12. I saw mailman-2.1.12-18.el6.x86_64 and read it as 2.1.18 or I would have noticed sooner what the issue was. This is Bug # 702516 and was fixed in Mailman 2.1.15.

Changed in mailman:
importance: Undecided → Medium
milestone: none → 2.1.15
status: Incomplete → Fix Released
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.