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

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/

On Thu, 2005-06-09 at 20:02, Tokio Kikuchi wrote:
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.
Is there a bug open on Python's SF bug tracker about this? If not, please open one and assign it to me. That doesn't mean you can't help fix it, but I'm tracking the email package and will be responsible for getting it into the various appropriate Python branches.
-Barry
participants (2)
-
Barry Warsaw
-
Tokio Kikuchi