[issue8058] incorrect behavior of get_filename() method in email pkg

2010-03-04 Thread R. David Murray
R. David Murray added the comment: Duplicate of issue 7082. However, I fixed the documentation in r78656. -- nosy: +r.david.murray priority: -> normal resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Patch for get_filename in email.message

[issue8058] incorrect behavior of get_filename() method in email pkg

2010-03-04 Thread daz
New submission from daz : get_filename() does not parse the Content-Type header for a "name" parameter. This is the old-style RFC 1341 header. Example: Content-Type: application/octet-stream; name="somefile.pdf" Content-Transfer-Encoding: base64 The email package documentation states: get_fi