This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author msapiro
Recipients barry, msapiro
Date 2009-02-16.04:35:12
SpamBayes Score 0.00013592209
Marked as misclassified No
Message-id <>
The message method get_params() and the related get_param() and
get_filename() do not properly decode an RFC 2231 encoded parameter such
as the following:

Content-Disposition: inline;
 filename*0="Re: [Mailman-Users] Messages shunted with \"TypeError: ";
 filename*1="decodingUnicode is not supported\".eml"

This is because the message helper function _parseparams() mistakenly
thinks the second semicolon is inside a quoted string because it counts
the quoted (escaped) quote and sees an odd number.

The attached patch will fix this.
Date User Action Args
2009-02-16 04:35:16msapirosetrecipients: + msapiro, barry
2009-02-16 04:35:15msapirosetmessageid: <>
2009-02-16 04:35:14msapirolinkissue5277 messages
2009-02-16 04:35:13msapirocreate