[Mailman-Developers] [Mailman-Users] ValueError: unpack list of wrong size

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Fri Jun 10 02:02:40 CEST 2005


Daniel Lyons wrote:

> Tokio,
> I came across your message to the mailman users list from a year ago. I 
> just received a "ValueError: unpack list of wrong size" error in 
> Mailman, and I wanted to give you the offending message in case you are 
> still the maintainer of Scrubber.py.
> The offending message is attached.

Looks like the offending line was this:
Content-Disposition: inline;
         filename*0="Today's Headlines- C.I.A. Is Reviewing Its Security 
         for R"; filename*1="ecruiting Translators.jpg"

Note that RFC2231 encoding specifies "'" as a special character for 
delimiting charset'lang'content.  The sender's MUA should have encoded 
"'" as "%27".

See: http://www.faqs.org/rfcs/rfc2231.html

Of course, Mailman and Python email package should be robust for such 
violation.  I need more time to fix this.

Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp

More information about the Mailman-Developers mailing list