[issue1874] email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages

Jonathan Share report at bugs.python.org
Sat Jan 19 19:37:22 CET 2008


New submission from Jonathan Share:

Although the documentation of FeedParser states that "It will populate 
a message object's defects attribute with a list of any problems it 
found in a message." no defect is found in the test case I am about to 
upload. The message in the test case is broken because it specifies a 
Content-Transfer-Encoding that is not valid for multipart/* messages[1].

I've spent some time today looking at the parser and cannot see where 
the parser is doing anything with the Content-Transfer-Encoding of a 
multipart message, leading me to believe that there might be another 
bug here with regards to not honoring Content-Transfer-Encoding at all 
for multipart/* messages but I don't have any more time today to look 
at it, I'll have to go away and read the rfc really well.

If someone can guide me on how to get this test to pass then I can 
probably get a good test case and fix written for issue1823 as well.

[1] http://tools.ietf.org/html/rfc2045#section-6.4

----------
components: Library (Lib)
messages: 60207
nosy: Sharebear, barry
severity: normal
status: open
title: email parser does not register a defect for invalid Content-Transfer-Encoding on multipart messages
type: behavior
versions: Python 2.5, Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1874>
__________________________________


More information about the Python-bugs-list mailing list