summaryrefslogtreecommitdiffstats
path: root/Python/pythonmain.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2004-05-13 23:12:33 (GMT)
committerBarry Warsaw <barry@python.org>2004-05-13 23:12:33 (GMT)
commit36d0f15a0b6d5c058b229d740bc09973247e4036 (patch)
tree9d1949614894979cf0b70362090f895f5ea396dd /Python/pythonmain.c
parent83923867703083794f274e5de432a0ce0325d77e (diff)
downloadcpython-36d0f15a0b6d5c058b229d740bc09973247e4036.zip
cpython-36d0f15a0b6d5c058b229d740bc09973247e4036.tar.gz
cpython-36d0f15a0b6d5c058b229d740bc09973247e4036.tar.bz2
_parsebody(): Do not create subparts unless the container has a main type of
'multipart' and the boundary is defined. This fixes SF bug # 846938, and several recent email-sig bugs where something like a text/html message also had a boundary parameter. This would later crash the Generator, which only consulted the Content-Type to decide how to generate the message (and it would expect just a string, but find a list there instead).
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions