
Hi,
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 Policy 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.
Cheers,
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/