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 Magnus Johnsson
Recipients Magnus Johnsson
Date 2020-07-26.09:58:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595757503.98.0.375306375596.issue41398@roundup.psfhosted.org>
In-reply-to
Content
When using the cgi module, parse_multipart fails with the supplied file with the error:

Invalid boundary in multipart form: b''

A sample program that demonstrates the error:
import cgi
f = open("60_Request.txt", "r")
print(cgi.parse_multipart(f, {'boundary': b'BgTzK0jM20UH01naJdsmAWUj7sqqeoikGZvh3mo9', 'CONTENT-LENGTH': 3992}))

This affects for instance Twisted, and all its dependencies.
History
Date User Action Args
2020-07-26 09:58:24Magnus Johnssonsetrecipients: + Magnus Johnsson
2020-07-26 09:58:23Magnus Johnssonsetmessageid: <1595757503.98.0.375306375596.issue41398@roundup.psfhosted.org>
2020-07-26 09:58:23Magnus Johnssonlinkissue41398 messages
2020-07-26 09:58:23Magnus Johnssoncreate